diff rhodecode/tests/functional/test_forks.py @ 2513:388843a3a3c0 beta

Updated create_or_update method to not change API key when password is not updated
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 26 Jun 2012 21:57:31 +0200
parents 9492ab68331f
children d2d35cf2b351
line wrap: on
line diff
--- a/rhodecode/tests/functional/test_forks.py	Tue Jun 26 04:11:10 2012 +0200
+++ b/rhodecode/tests/functional/test_forks.py	Tue Jun 26 21:57:31 2012 +0200
@@ -12,7 +12,7 @@
         self.password = u'qweqwe'
         self.u1 = UserModel().create_or_update(
             username=self.username, password=self.password,
-            email=u'fork_king@rhodecode.org', name=u'u1', lastname=u'u1'
+            email=u'fork_king@rhodecode.org', firstname=u'u1', lastname=u'u1'
         )
         self.Session.commit()