server/test/unittest_session.py
changeset 9411 6aec72169ee1
parent 9240 6356adcb652c
child 9478 2d7521881d3d
--- a/server/test/unittest_session.py	Wed Jan 15 18:20:25 2014 +0100
+++ b/server/test/unittest_session.py	Thu Jan 16 12:21:05 2014 +0100
@@ -28,11 +28,11 @@
     def test_integrity_hooks(self):
         with self.repo.internal_session() as session:
             self.assertEqual(HOOKS_ALLOW_ALL, session.hooks_mode)
-            self.assertEqual(set(('integrity',)), session.disabled_hook_categories)
+            self.assertEqual(set(('integrity', 'security')), session.disabled_hook_categories)
             self.assertEqual(set(), session.enabled_hook_categories)
             session.commit()
             self.assertEqual(HOOKS_ALLOW_ALL, session.hooks_mode)
-            self.assertEqual(set(('integrity',)), session.disabled_hook_categories)
+            self.assertEqual(set(('integrity', 'security')), session.disabled_hook_categories)
             self.assertEqual(set(), session.enabled_hook_categories)
 
 class SessionTC(CubicWebTC):