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/ 6 years ago
committed by GitHub
parent
commit
5279365c74
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      module_auto_update/__manifest__.py
  2. 2
      module_auto_update/tests/test_addon_hash.py

2
module_auto_update/__manifest__.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, '

2
module_auto_update/tests/test_addon_hash.py

@ -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, [

Loading…
Cancel
Save