We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8a156a commit 5560a72Copy full SHA for 5560a72
tests/conftest.py
@@ -77,8 +77,9 @@ def postgres_uri():
77
def postgres_storage(postgres_uri: str):
78
"""Reset storage state after each test case"""
79
storage = PostgresObjectStore(postgres_uri)
80
- storage.wipe_db()
81
- return storage
+ storage.wipe_db() # Ensure clean state before test
+ yield storage
82
+ storage.wipe_db() # Clean up after test
83
84
85
@pytest.fixture
0 commit comments