mirror of
https://github.com/jazzband/django-axes.git
synced 2026-03-16 22:30:23 +00:00
Adopt test based on Django security release for CVE-2023-24580
This commit is contained in:
parent
7f534c0e3b
commit
779fdf496b
1 changed files with 1 additions and 0 deletions
|
|
@ -69,6 +69,7 @@ class AccessLogTestCase(AxesTestCase):
|
|||
|
||||
self.assertIsNotNone(AccessLog.objects.latest("id").logout_time)
|
||||
|
||||
@override_settings(DATA_UPLOAD_MAX_NUMBER_FIELDS=1500)
|
||||
def test_log_data_truncated(self):
|
||||
"""
|
||||
Test that get_query_str properly truncates data to the max_length (default 1024).
|
||||
|
|
|
|||
Loading…
Reference in a new issue