From 080fdf18cc364d93281ce2d9851d4a38ef5b6714 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Mon, 5 Dec 2022 16:38:10 +0100 Subject: [PATCH] tests: fix wcs_factory fixture (#72046) * remove --insecure argument to wcs-manage's runserver command * limit django-ratelimit to versions <3 --- tests/wcs/conftest.py | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/wcs/conftest.py b/tests/wcs/conftest.py index c775fa37..d0cdf0e8 100644 --- a/tests/wcs/conftest.py +++ b/tests/wcs/conftest.py @@ -295,7 +295,7 @@ LOGGING = {{ os.environ['WCS_SETTINGS_FILE'] = local_settings_path os.execvp( 'python', - ['python', 'manage.py', 'runserver', '--insecure', '--noreload', '%s:%s' % (address, port)], + ['python', 'manage.py', 'runserver', '--noreload', '%s:%s' % (address, port)], ) os._exit(0) diff --git a/tox.ini b/tox.ini index 22a89d50..948fb234 100644 --- a/tox.ini +++ b/tox.ini @@ -39,7 +39,7 @@ deps = pytest-sftpserver Quixote>=3.0,<3.2 vobject - django-ratelimit + django-ratelimit<3 bleach phonenumbers dnspython -- 2.37.2