mirror of
https://github.com/soxoj/maigret.git
synced 2026-05-06 22:19:01 +00:00
Fixed test fixture scope
This commit is contained in:
+1
-1
@@ -39,7 +39,7 @@ def default_db():
|
||||
return db
|
||||
|
||||
|
||||
@pytest.fixture(scope='session')
|
||||
@pytest.fixture(scope='function')
|
||||
def test_db():
|
||||
db = MaigretDatabase().load_from_file(TEST_JSON_FILE)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user