cubicweb/server/test/unittest_hook.py
changeset 12036 4c2c731f9190
parent 12035 2fcb9339f69a
child 12513 6f42f1460f99
--- a/cubicweb/server/test/unittest_hook.py	Fri Mar 10 17:03:28 2017 +0100
+++ b/cubicweb/server/test/unittest_hook.py	Fri Mar 10 18:25:35 2017 +0100
@@ -134,12 +134,6 @@
         self.repo.hm.call_hooks('server_shutdown', repo=self.repo)
         self.assertEqual(hooks.CALLED_EVENTS['server_shutdown'], True)
 
-    def test_session_open_close(self):
-        import hooks # cubicweb/server/test/data/hooks.py
-        anonaccess = self.new_access('anon')
-        with anonaccess.repo_cnx() as cnx:
-            self.assertEqual(hooks.CALLED_EVENTS['session_open'], 'anon')
-
 
 if __name__ == '__main__':
     unittest.main()