Merge branch 'master' into tests/security-check-w006

This commit is contained in:
Aleksi Häkli 2026-02-06 20:33:48 +02:00 committed by GitHub
commit e03216e45d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View file

@ -1,12 +1,12 @@
-e .
black==25.11.0
coverage==7.13.0
coverage==7.13.3
django-ipware>=3
mypy==1.19.1
prospector==1.17.3
prospector==1.18.0
pytest-cov==7.0.0
pytest-django==4.11.1
pytest-subtests==0.15.0
pytest==9.0.2
sphinx_rtd_theme==3.0.2
sphinx_rtd_theme==3.1.0
tox==4.32.0

View file

@ -134,6 +134,7 @@ class ConfCheckTestCase(AxesTestCase):
warnings = run_checks()
self.assertEqual(warnings, [])
class LockoutParametersCheckTestCase(AxesTestCase):
@override_settings(AXES_LOCKOUT_PARAMETERS=["ip_address", "username"])
def test_valid_configuration(self):