This commit is contained in:
mdr0id 2019-12-19 18:07:20 -08:00
parent ff5a47acfa
commit 4801c316fc
1 changed files with 2 additions and 2 deletions

View File

@ -140,13 +140,13 @@ class TestNode(NodeConnCB):
# across all connections. (If outcome of final tx is specified as true
# or false, then only the last tx is tested against outcome.)
class TestInstance():
class TestInstance(object):
def __init__(self, objects=None, sync_every_block=True, sync_every_tx=False):
self.blocks_and_transactions = objects if objects else []
self.sync_every_block = sync_every_block
self.sync_every_tx = sync_every_tx
class TestManager():
class TestManager(object):
def __init__(self, testgen, datadir):
self.test_generator = testgen