diff rhodecode/tests/test_models.py @ 2515:623e1d68a2e0 beta

fixed few test failures
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 26 Jun 2012 22:20:08 +0200
parents 388843a3a3c0
children
line wrap: on
line diff
--- a/rhodecode/tests/test_models.py	Tue Jun 26 22:01:05 2012 +0200
+++ b/rhodecode/tests/test_models.py	Tue Jun 26 22:20:08 2012 +0200
@@ -262,14 +262,14 @@
         self.u2 = UserModel().create_or_update(username=u'u2',
                                         password=u'qweqwe',
                                         email=u'u2@rhodecode.org',
-                                        name=u'u2', lastname=u'u3')
+                                        firstname=u'u2', lastname=u'u3')
         Session.commit()
         self.u2 = self.u2.user_id
 
         self.u3 = UserModel().create_or_update(username=u'u3',
                                         password=u'qweqwe',
                                         email=u'u3@rhodecode.org',
-                                        name=u'u3', lastname=u'u3')
+                                        firstname=u'u3', lastname=u'u3')
         Session.commit()
         self.u3 = self.u3.user_id