Commits

James Bennett  committed e0a1b2c

Test for use of the activation template

  • Participants
  • Parent commits e709f54

Comments (0)

Files changed (1)

File registration/tests.py

         response = self.client.get(reverse('registration_activate',
                                            kwargs={ 'activation_key': profile.activation_key }))
         self.assertEqual(response.status_code, 200)
+        self.assertTemplateUsed(response, 'registration/activate.html')
 
         self.failUnless(User.objects.get(username='alice').is_active)