From 2031101c4e9f91f755be62701cd655170fa1617e Mon Sep 17 00:00:00 2001 From: Ivan Tyagov <ivan@nexedi.com> Date: Fri, 15 Jun 2012 09:55:31 +0300 Subject: [PATCH] transaction.abort -> self.abort --- product/ERP5Security/tests/testERP5Security.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5Security/tests/testERP5Security.py b/product/ERP5Security/tests/testERP5Security.py index a64d1d9fbc..844150dada 100644 --- a/product/ERP5Security/tests/testERP5Security.py +++ b/product/ERP5Security/tests/testERP5Security.py @@ -587,7 +587,7 @@ class TestLocalRoleManagement(ERP5TypeTestCase): self.assertTrue('Assignor' in user.getRolesInContext(obj)) self.assertEqual(('Alternate',), obj.__ac_local_roles_group_id_dict__.get('F1_G1_S1')) - transaction.abort() + self.abort() def testDynamicLocalRole(self): -- 2.30.9