diff --git a/base_technical_features/tests/test_base_technical_features.py b/base_technical_features/tests/test_base_technical_features.py index 3e9ac0348..e7380e3e7 100644 --- a/base_technical_features/tests/test_base_technical_features.py +++ b/base_technical_features/tests/test_base_technical_features.py @@ -38,7 +38,12 @@ class TestBaseTechnicalFeatures(common.TransactionCase): self.env.user.write({'technical_features': True}) self.assertEqual(get_partner_field_invisible(), None) - def test03_user_access(self): + +@common.at_install(False) +@common.post_install(True) +class UserCase(common.TransactionCase): + + def test_user_access(self): """ Setting the user pref raises an access error if the user is not \ in group_no_one """ user = self.env['res.users'].create({