def test_url_index(self): c = Client() response = c.get('/') self.assertEqual(response.status_code, 302)