1. Roberto Rosario
  2. django-registration

Commits

Duncan Parkes  committed ba1d3d0

Update test with new error message.

  • Participants
  • Parent commits 3cd335e
  • Branches default

Comments (0)

Files changed (1)

File registration/tests/forms.py

View file
  • Ignore whitespace
                       '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',