Changes db_manager fixture from session to module

This commit is contained in:
Sergi Delgado Segura
2020-01-31 13:04:23 +01:00
parent 32ff13a495
commit 1a7464f31a

View File

@@ -42,9 +42,10 @@ def prng_seed():
random.seed(0)
@pytest.fixture(scope="session")
@pytest.fixture(scope="module")
def db_manager():
manager = DBManager("test_db")
# Add last know block for the Responder in the db
yield manager
manager.db.close()