Commits

James Bennett committed b1be49e

Test the case where we GET to that view

  • Participants
  • Parent commits 8a3fcdc

Comments (0)

Files changed (1)

registration/tests.py

         validates data and creates a new user.
         
         """
+        response = self.client.get(reverse('registration_register'))
+        self.assertEqual(response.status_code, 200)
+        self.assertTemplateUsed(response, 'registration/registration_form.html')
+
         response = self.client.post(reverse('registration_register'),
                                     data={ 'username': 'alice',
                                            'email': 'alice@example.com',