diff --git a/swh/web/tests/conftest.py b/swh/web/tests/conftest.py --- a/swh/web/tests/conftest.py +++ b/swh/web/tests/conftest.py @@ -123,13 +123,13 @@ # Fixture to get test client from Django REST Framework -@pytest.fixture(scope="module") +@pytest.fixture def api_client(): return APIClient() # Fixture to get API request factory from Django REST Framework -@pytest.fixture(scope="module") +@pytest.fixture def api_request_factory(): return APIRequestFactory()