[server/test] drop unused variable initialization in OperationsTC.setUp()
authorPhilippe Pepiot <philippe.pepiot@logilab.fr>
Fri, 15 Mar 2019 15:51:27 +0100
changeset 12514 eac7f5b20f9f
parent 12513 6f42f1460f99
child 12515 2d43c8b30ef0
[server/test] drop unused variable initialization in OperationsTC.setUp() Variable "self.hm" is unused
cubicweb/server/test/unittest_hook.py
--- a/cubicweb/server/test/unittest_hook.py	Wed Mar 13 14:03:45 2019 +0100
+++ b/cubicweb/server/test/unittest_hook.py	Fri Mar 15 15:51:27 2019 +0100
@@ -30,10 +30,6 @@
 
 class OperationsTC(CubicWebTC):
 
-    def setUp(self):
-        CubicWebTC.setUp(self)
-        self.hm = self.repo.hm
-
     def test_late_operation(self):
         with self.admin_access.repo_cnx() as cnx:
             l1 = hook.LateOperation(cnx)