(self)
| 89 | return response |
| 90 | |
| 91 | def logout(self): |
| 92 | response = self.client.post("/admin/logout/") |
| 93 | self.assertEqual(response.status_code, 200) |
| 94 | self.assertNotIn(SESSION_KEY, self.client.session) |
| 95 | |
| 96 | def assertFormError(self, response, error): |
| 97 | """Assert that error is found in response.context['form'] errors""" |
no test coverage detected