diff --git a/tests/conftest.py b/tests/conftest.py index 7c1dc5147..9e4f208aa 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -42,7 +42,7 @@ def test_image(): return TEST_DATA.joinpath("test_image.jpg") -@fixture(scope="session") +@fixture(scope="function") def token(api_client: requests): form_data = {"username": "changeme@email.com", "password": "MyPassword"} response = api_client.post(TOKEN_URL, form_data)