Fixed test fixture scope

This commit is contained in:
Soxoj
2021-05-02 20:12:36 +03:00
parent 188edc1b7f
commit 951be44452
+1 -1
View File
@@ -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)