hooks/test/unittest_hooks.py
changeset 10336 9c38f674e36f
parent 10187 0df931eb08de
child 10724 aa3eedba866c
--- a/hooks/test/unittest_hooks.py	Thu Jun 05 09:51:57 2014 +0200
+++ b/hooks/test/unittest_hooks.py	Wed Jun 04 18:21:24 2014 +0200
@@ -146,20 +146,6 @@
 
 class UserGroupHooksTC(CubicWebTC):
 
-    def test_user_synchronization(self):
-        with self.admin_access.repo_cnx() as cnx:
-            self.create_user(cnx, 'toto', password='hop', commit=False)
-            self.assertRaises(AuthenticationError,
-                              self.repo.connect, u'toto', password='hop')
-            cnx.commit()
-            cnxid = self.repo.connect(u'toto', password='hop')
-            self.assertNotEqual(cnxid, cnx.sessionid)
-            cnx.execute('DELETE CWUser X WHERE X login "toto"')
-            self.repo.execute(cnxid, 'State X')
-            cnx.commit()
-            self.assertRaises(BadConnectionId,
-                              self.repo.execute, cnxid, 'State X')
-
     def test_user_group_synchronization(self):
         with self.admin_access.repo_cnx() as cnx:
             user = cnx.user