diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index 5f0b7807d4..03f73a9e80 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -217,7 +217,7 @@ def localhost_using_legacy_db(): conn.commit() -@pytest.fixture(scope='session') +@pytest.fixture(scope='function') def client(admin_username, admin_password): """Provides a Django test Client object already logged in to the web UI as an admin"""