diff --git a/base_suspend_security/tests/test_base_suspend_security.py b/base_suspend_security/tests/test_base_suspend_security.py index 232abdb9..8f7734f5 100644 --- a/base_suspend_security/tests/test_base_suspend_security.py +++ b/base_suspend_security/tests/test_base_suspend_security.py @@ -55,7 +55,7 @@ class TestBaseSuspendSecurity(TransactionCase): with self.assertRaises(exceptions.AccessError): model.sudo(user_without_access).search([]) # this tests the search - model.sudo(user_without_access).suspend_security().search([]) + model.sudo(user_without_access).suspend_security().search([]) # be sure we can search suspended uids like ints partners = self.env['res.partner'].with_context( active_test=False,