mirror of
https://github.com/jazzband/django-axes.git
synced 2026-03-16 22:30:23 +00:00
Fix failing test case for new Django versions
See https://code.djangoproject.com/ticket/34968 for more details
This commit is contained in:
parent
9472011ed8
commit
07483c6a15
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ class AccessLogTestCase(AxesTestCase):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# An impossibly large post dict
|
# An impossibly large post dict
|
||||||
extra_data = {"a" * x: x for x in range(1024)}
|
extra_data = {"too-large-field": "x" * 2 ** 16}
|
||||||
self.login(**extra_data)
|
self.login(**extra_data)
|
||||||
self.assertEqual(len(AccessAttempt.objects.latest("id").post_data), 1024)
|
self.assertEqual(len(AccessAttempt.objects.latest("id").post_data), 1024)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue