password should now be named
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 09 Dec 2009 09:53:23 +0100
changeset 4067 c49fba955a9c
parent 4066 0555f170c4d1
child 4068 8f559c00e724
password should now be named
hooks/test/unittest_hooks.py
--- a/hooks/test/unittest_hooks.py	Wed Dec 09 09:52:28 2009 +0100
+++ b/hooks/test/unittest_hooks.py	Wed Dec 09 09:53:23 2009 +0100
@@ -187,9 +187,9 @@
     def test_user_synchronization(self):
         self.create_user('toto', password='hop', commit=False)
         self.assertRaises(AuthenticationError,
-                          self.repo.connect, u'toto', 'hop')
+                          self.repo.connect, u'toto', password='hop')
         self.commit()
-        cnxid = self.repo.connect(u'toto', 'hop')
+        cnxid = self.repo.connect(u'toto', password='hop')
         self.failIfEqual(cnxid, self.session.id)
         self.execute('DELETE CWUser X WHERE X login "toto"')
         self.repo.execute(cnxid, 'State X')