Skip to content

Commit 1289ea7

Browse files
committed
fix(tests): ensure test isolation by changing pytest fixture scope to function
1 parent dda268b commit 1289ea7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
warnings.filterwarnings("ignore", category=DeprecationWarning)
88

99

10-
@pytest.fixture(scope="module")
10+
@pytest.fixture(scope="function")
1111
def client():
1212
with TestClient(app) as test_client:
1313
yield test_client

0 commit comments

Comments
 (0)