mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-18 06:34:19 +01:00
Changes db_manager fixture from session to module
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user