Commits

James Bennett  committed f081dd0

Add an explanatory comment.

  • Participants
  • Parent commits 4ef31f0

Comments (0)

Files changed (1)

File registration/tests.py

         self.assertEqual(response.status_code, 200)
         self.assertEqual(len(mail.outbox), 1)
 
+        # If registration is closed, trying to register should
+        # redirect to the "registration closed" message.
         old_allowed = getattr(settings, 'REGISTRATION_OPEN', True)
         settings.REGISTRATION_OPEN = False