James Bennett  committed 4641226

Do the form-class test a bit differently to make other forms tests easier.

  • Participants
  • Parent commits c9073d1
  • Branches default

Comments (0)

Files changed (1)

File registration/

 from django.core import mail
 from django.test import TestCase
-from registration.forms import RegistrationForm
+from registration import forms
 from registration.models import RegistrationProfile
-        self.failUnless(self.backend.get_form_class({}) is RegistrationForm)
+        self.failUnless(self.backend.get_form_class({}) is forms.RegistrationForm)
     def test_post_registration_redirect(self):