diff --git a/tests/test_logging.py b/tests/test_logging.py index 9394031..c0c4b66 100644 --- a/tests/test_logging.py +++ b/tests/test_logging.py @@ -81,7 +81,7 @@ class AccessLogTestCase(AxesTestCase): """ # 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.assertEqual(len(AccessAttempt.objects.latest("id").post_data), 1024)