1. Grzegorz Szczepańczyk
  2. django-registration

Commits

James Bennett  committed bdac917

Remove copy/paste foul

  • Participants
  • Parent commits 8a1de44
  • Branches default

Comments (0)

Files changed (1)

File registration/tests.py

View file
  • Ignore whitespace
         self.failUnless(response.context['form'].errors)
 
         response = self.client.post(reverse('registration_register'),
-                                    data={ 'username': 'foo', # Will fail on username uniqueness.
+                                    data={ 'username': 'foo',
                                            'email': 'foo@example.com',
                                            'password1': 'foo',
                                            'password2': 'foo' })