Skip to content

Commit

Permalink
change test client scope to function
Browse files Browse the repository at this point in the history
  • Loading branch information
Housain-maina committed Sep 18, 2024
1 parent 94f4097 commit 1798bd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
from rest_framework.test import APIClient


@pytest.fixture(scope="session")
@pytest.fixture(scope="function")
def test_client() -> APIClient:
return APIClient()

0 comments on commit 1798bd6

Please sign in to comment.