# HG changeset patch # User Sylvain Thénault # Date 1260348803 -3600 # Node ID c49fba955a9c063bdbd7482636db27155d146de6 # Parent 0555f170c4d1d7acabd826da4f8b33562717b4fd password should now be named diff -r 0555f170c4d1 -r c49fba955a9c 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')