Commit 36524879 authored by Gabriel Monnerat's avatar Gabriel Monnerat

add assert

parent cfb70ba7
......@@ -4641,6 +4641,7 @@ class TestVifibSlapWebService(testVifibMixin):
software_instance = self.portal.portal_catalog.getResultValue(
uid=software_instance_uid)
self.failIfUserCanViewDocument(username, software_instance)
self.failIfUserCanAccessDocument(username, software_instance)
self.login(username)
def test_SlaveInstance_check_permission_with_different_customer(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment