mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
16 lines
376 B
Python
16 lines
376 B
Python
import pytest
|
|
from bigchaindb.pipelines import block, election, vote, stale
|
|
|
|
|
|
@pytest.fixture
|
|
def processes(genesis_block):
|
|
block_maker = block.start()
|
|
voter = vote.start()
|
|
election_runner = election.start()
|
|
stale_monitor = stale.start()
|
|
yield
|
|
block_maker.terminate()
|
|
voter.terminate()
|
|
election_runner.terminate()
|
|
stale_monitor.terminate()
|