import pytest


@pytest.fixture(scope="session")
def django_db_setup():
    pass


@pytest.fixture(autouse=True)
def _disable_ssl_redirect(settings):
    """Prevent 301 redirects in the test client when DEBUG is False."""
    settings.SECURE_SSL_REDIRECT = False
