diff rhodecode/tests/functional/test_login.py @ 1021:0ea8eca2d63e beta

fixed tests
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 11 Feb 2011 00:12:27 +0100
parents 18a3ca35d501
children 6832ef664673
line wrap: on
line diff
--- a/rhodecode/tests/functional/test_login.py	Thu Feb 10 23:45:44 2011 +0100
+++ b/rhodecode/tests/functional/test_login.py	Fri Feb 11 00:12:27 2011 +0100
@@ -127,7 +127,10 @@
         print response.body
         assert response.status == '200 OK', 'Wrong response from register page got %s' % response.status
         assert 'An email address must contain a single @' in response.body
-        assert 'Username may only contain alphanumeric characters underscores or dashes and must begin with alphanumeric character' in response.body
+        assert ('Username may only contain '
+                'alphanumeric characters underscores, '
+                'periods or dashes and must begin with '
+                'alphanumeric character') in response.body
 
     def test_register_err_case_sensitive(self):
         response = self.app.post(url(controller='login', action='register'),