Browse Source

publish muk_utils - 12.0

pull/9/head
MuK IT GmbH 6 years ago
parent
commit
44d667f28f
  1. 2
      muk_utils/__manifest__.py
  2. 4
      muk_utils/tests/common.py

2
muk_utils/__manifest__.py

@ -19,7 +19,7 @@
{ {
"name": "MuK Utils", "name": "MuK Utils",
"summary": """Utility Features""", "summary": """Utility Features""",
"version": '12.0.1.6.3',
"version": '12.0.1.6.4',
"category": 'Extra Tools', "category": 'Extra Tools',
"license": "AGPL-3", "license": "AGPL-3",
"author": "MuK IT", "author": "MuK IT",

4
muk_utils/tests/common.py

@ -80,8 +80,10 @@ def multi_users(users=[['base.user_root', True], ['base.user_admin', True]], res
'error': None, 'error': None,
}) })
if reset: if reset:
self.cr.execute('ROLLBACK TO SAVEPOINT test_multi_users')
self.env.cache.invalidate()
self.registry.clear_caches()
self.registry.reset_changes() self.registry.reset_changes()
self.cr.execute('ROLLBACK TO SAVEPOINT test_multi_users')
else: else:
self._cr.execute('RELEASE SAVEPOINT test_multi_users') self._cr.execute('RELEASE SAVEPOINT test_multi_users')
test_fails = [] test_fails = []

Loading…
Cancel
Save