diff options
Diffstat (limited to 'askbot/tests/form_tests.py')
-rw-r--r-- | askbot/tests/form_tests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/askbot/tests/form_tests.py b/askbot/tests/form_tests.py index 2fa572e5..5235b13a 100644 --- a/askbot/tests/form_tests.py +++ b/askbot/tests/form_tests.py @@ -303,5 +303,6 @@ class UserNameFieldTest(AskbotTestCase): #invalid username and username in reserved words self.assertRaises(django_forms.ValidationError, self.username_field.clean, ' ') self.assertRaises(django_forms.ValidationError, self.username_field.clean, 'fuck') + self.assertRaises(django_forms.ValidationError, self.username_field.clean, '......') #TODO: test more things |