2016-12-21 17:45:14 +01:00

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()