1. Evgeniy Kirov
  2. django-registration

Commits

James Bennett  committed f0b80a9

Somehow lost that assert.

  • Participants
  • Parent commits 8371a28
  • Branches default

Comments (0)

Files changed (1)

File registration/tests/views.py

View file
  • Ignore whitespace
                                           'password2': 'swordfish'})
         self.assertRedirects(response,
                              'http://testserver%s' % reverse('registration_complete'))
+        self.assertEqual(RegistrationProfile.objects.count(), 1)
         self.assertEqual(len(mail.outbox), 1)
 
     def test_registration_view_failure(self):