mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-17 22:24:23 +01:00
Updates tests to use ChainMonitor as global fixture
This commit is contained in:
@@ -19,14 +19,6 @@ from bitcoind_mock.transaction import TX
|
||||
from test.pisa.unit.conftest import generate_block, generate_blocks, get_random_value_hex
|
||||
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
def chain_monitor():
|
||||
chain_monitor = ChainMonitor()
|
||||
chain_monitor.monitor_chain()
|
||||
|
||||
return chain_monitor
|
||||
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
def responder(db_manager, chain_monitor):
|
||||
responder = Responder(db_manager, chain_monitor)
|
||||
|
||||
Reference in New Issue
Block a user