Skip to content

Commit

Permalink
[qa] Bugfix: allow overriding extra_args in ComparisonTestFramework
Browse files Browse the repository at this point in the history
  • Loading branch information
sdaftuar committed Jun 28, 2017
1 parent 300f8e7 commit 4ed3653
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/functional/test_framework/test_framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,10 @@ def add_options(self, parser):
help="bitcoind binary to use for reference nodes (if any)")

def setup_network(self):
extra_args = [['-whitelist=127.0.0.1']]*self.num_nodes
if hasattr(self, "extra_args"):
extra_args = self.extra_args
self.nodes = self.start_nodes(
self.num_nodes, self.options.tmpdir,
extra_args=[['-whitelist=127.0.0.1']] * self.num_nodes,
self.num_nodes, self.options.tmpdir, extra_args,
binary=[self.options.testbinary] +
[self.options.refbinary]*(self.num_nodes-1))

0 comments on commit 4ed3653

Please sign in to comment.