Commits

Duncan Parkes committed ba1d3d0

Update test with new error message.

Comments (0)

Files changed (1)

registration/tests/forms.py

                       'email': 'foo@example.com',
                       'password1': 'foo',
                       'password2': 'foo'},
-            'error': ('username', [u"This value must contain only letters, numbers and underscores."])},
+            'error': ('username', [u"This value may contain only letters, numbers and @/./+/-/_ characters."])},
             # Already-existing username.
             {'data': {'username': 'alice',
                       'email': 'alice@example.com',