changeset 9f1368a2e02d in modules/party_avatar:default
details:
https://hg.tryton.org/modules/party_avatar?cmd=changeset&node=9f1368a2e02d
description:
Check rule only if _check_access is set and enforce companies rule
issue4080
review343891009
diffstat:
tests/test_party_avatar.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (15 lines):
diff -r 355876742015 -r 9f1368a2e02d tests/test_party_avatar.py
--- a/tests/test_party_avatar.py Sun Mar 28 19:20:37 2021 +0200
+++ b/tests/test_party_avatar.py Sat Apr 10 23:46:23 2021 +0200
@@ -6,8 +6,10 @@
from trytond.tests.test_tryton import ModuleTestCase
from trytond.tests.test_tryton import suite as test_suite
+from trytond.modules.company.tests import CompanyTestMixin
-class PartyAvatarTestCase(ModuleTestCase):
+
+class PartyAvatarTestCase(CompanyTestMixin, ModuleTestCase):
'Test Party Avatar module'
module = 'party_avatar'
extras = ['company']