Commits

James Bennett committed 4641226

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

  • Participants
  • Parent commits c9073d1

Comments (0)

Files changed (1)

File registration/tests.py

 from django.core import mail
 from django.test import TestCase
 
-from registration.forms import RegistrationForm
+from registration import forms
 from registration.models import RegistrationProfile
 
 
         ``registration.forms.RegistrationForm``.
         
         """
-        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):
         """