diff --git a/django/contrib/auth/tests/forms.py b/django/contrib/auth/tests/forms.py index 482979c59e..38ee70b169 100644 --- a/django/contrib/auth/tests/forms.py +++ b/django/contrib/auth/tests/forms.py @@ -16,7 +16,7 @@ FORM_TESTS = """ >>> form.is_valid() False >>> form["username"].errors -[u'A user with that username already exists.'] +[u'A user with that username already exists.', u'This field cannot be blank.'] # The username contains invalid data. @@ -29,7 +29,7 @@ False >>> form.is_valid() False >>> form["username"].errors -[u'This value must contain only letters, numbers and underscores.'] +[u'This value must contain only letters, numbers and underscores.', u'This field cannot be blank.'] # The verification password is incorrect.