Don't share objects between TestInstances
This commit is contained in:
parent
72b25b0ffd
commit
df8f8095b6
|
@ -140,8 +140,8 @@ class TestNode(NodeConnCB):
|
||||||
# or false, then only the last tx is tested against outcome.)
|
# or false, then only the last tx is tested against outcome.)
|
||||||
|
|
||||||
class TestInstance(object):
|
class TestInstance(object):
|
||||||
def __init__(self, objects=[], sync_every_block=True, sync_every_tx=False):
|
def __init__(self, objects=None, sync_every_block=True, sync_every_tx=False):
|
||||||
self.blocks_and_transactions = objects
|
self.blocks_and_transactions = objects if objects else []
|
||||||
self.sync_every_block = sync_every_block
|
self.sync_every_block = sync_every_block
|
||||||
self.sync_every_tx = sync_every_tx
|
self.sync_every_tx = sync_every_tx
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue