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