Browse Source
Merge pull request #1252 from Tecnativa/11.0-module_auto_update-test_ignore_pycache
[FIX] module_auto_update: Ignore `__pycache__` in hash test
pull/1263/head
Moises Lopez - https://www.vauxoo.com/
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
module_auto_update/__manifest__.py
-
module_auto_update/tests/test_addon_hash.py
|
|
@ -4,7 +4,7 @@ |
|
|
|
{ |
|
|
|
'name': 'Module Auto Update', |
|
|
|
'summary': 'Automatically update Odoo modules', |
|
|
|
'version': '11.0.2.0.2', |
|
|
|
'version': '11.0.2.0.3', |
|
|
|
'category': 'Extra Tools', |
|
|
|
'website': 'https://github.com/OCA/server-tools', |
|
|
|
'author': 'LasLabs, ' |
|
|
|
|
|
@ -21,7 +21,7 @@ class TestAddonHash(unittest.TestCase): |
|
|
|
def test_basic(self): |
|
|
|
files = list(addon_hash._walk( |
|
|
|
self.sample_dir, |
|
|
|
exclude_patterns=[], |
|
|
|
exclude_patterns=["*/__pycache__/*"], |
|
|
|
keep_langs=[], |
|
|
|
)) |
|
|
|
self.assertEqual(files, [ |
|
|
|