============================= test session starts ============================== platform linux -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-0.13.1 -- /usr/bin/python cachedir: .pytest_cache django: settings: csp.tests.settings (from ini) rootdir: /build/python-django-csp/src/django-csp-3.7, configfile: setup.cfg plugins: django-4.5.2 collecting ... collected 33 items / 1 error / 32 selected ==================================== ERRORS ==================================== ___________________ ERROR collecting csp/tests/test_utils.py ___________________ ImportError while importing test module '/build/python-django-csp/src/django-csp-3.7/csp/tests/test_utils.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) csp/tests/test_utils.py:4: in import six E ModuleNotFoundError: No module named 'six' =============================== warnings summary =============================== csp/tests/test_context_processors.py:8 /build/python-django-csp/src/django-csp-3.7/csp/tests/test_context_processors.py:8: RemovedInDjango40Warning: Passing None for the middleware get_response argument is deprecated. mw = CSPMiddleware() csp/tests/test_contrib.py:9 /build/python-django-csp/src/django-csp-3.7/csp/tests/test_contrib.py:9: RemovedInDjango40Warning: Passing None for the middleware get_response argument is deprecated. mw = RateLimitedCSPMiddleware() csp/tests/test_decorators.py:10 /build/python-django-csp/src/django-csp-3.7/csp/tests/test_decorators.py:10: RemovedInDjango40Warning: Passing None for the middleware get_response argument is deprecated. mw = CSPMiddleware() csp/tests/utils.py:8 /build/python-django-csp/src/django-csp-3.7/csp/tests/utils.py:8: RemovedInDjango40Warning: Passing None for the middleware get_response argument is deprecated. mw = CSPMiddleware() csp/tests/test_middleware.py:13 /build/python-django-csp/src/django-csp-3.7/csp/tests/test_middleware.py:13: RemovedInDjango40Warning: Passing None for the middleware get_response argument is deprecated. mw = CSPMiddleware() -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ ERROR csp/tests/test_utils.py !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! ========================= 5 warnings, 1 error in 0.55s ========================= ==> ERROR: A failure occurred in check().  Aborting...