mirror of
https://github.com/jazzband/django-axes.git
synced 2026-05-11 09:03:12 +00:00
More tests. Still not entirely sure where I'm going with this yet.
This commit is contained in:
parent
68c7128885
commit
ddfd53d678
1 changed files with 7 additions and 0 deletions
|
|
@ -371,6 +371,13 @@ class AccessAttemptTest(TestCase):
|
|||
admin_login = reverse('admin:index')
|
||||
|
||||
response = self.client.get(admin_login)
|
||||
self.assertEqual(response.status_code, 200)
|
||||
|
||||
response = self._login(is_valid_username=True, is_valid_password=True)
|
||||
self.assertEqual(response.status_code, 302)
|
||||
|
||||
response = self.client.get(admin_login)
|
||||
self.assertEqual(response.status_code, 200)
|
||||
|
||||
|
||||
class UtilsTest(TestCase):
|
||||
|
|
|
|||
Loading…
Reference in a new issue