def test_renders_login_template_with_get_request(self, mock_form): response = self.client.get('/accounts/login') self.assertTemplateUsed(response, 'login.html')