We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9472011 commit 07483c6Copy full SHA for 07483c6
tests/test_logging.py
@@ -81,7 +81,7 @@ def test_log_data_truncated(self):
81
"""
82
83
# An impossibly large post dict
84
- extra_data = {"a" * x: x for x in range(1024)}
+ extra_data = {"too-large-field": "x" * 2 ** 16}
85
self.login(**extra_data)
86
self.assertEqual(len(AccessAttempt.objects.latest("id").post_data), 1024)
87
0 commit comments