aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p_node_network_limited.py
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2018-10-16 11:21:07 -0400
committerJohn Newbery <john@johnnewbery.com>2018-11-01 12:53:49 -0400
commit3fd7e76f6d4b4eae0b36d9b33376274f5387a6f3 (patch)
treee01790c1fba7dba4f6a3954f3d86f8bb3dbf7ce7 /test/functional/p2p_node_network_limited.py
parent08a57d51e90c232421681c9e6fe037ea4b3ed079 (diff)
[tests] Move deterministic address import to setup_nodes
This requires a small changes to a few tests, but means that deterministic addresses will always be imported (unless setup_nodes behaviour is explicitly overridden).
Diffstat (limited to 'test/functional/p2p_node_network_limited.py')
-rwxr-xr-xtest/functional/p2p_node_network_limited.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/p2p_node_network_limited.py b/test/functional/p2p_node_network_limited.py
index ec3d336dc1..359880506e 100755
--- a/test/functional/p2p_node_network_limited.py
+++ b/test/functional/p2p_node_network_limited.py
@@ -43,8 +43,8 @@ class NodeNetworkLimitedTest(BitcoinTestFramework):
disconnect_nodes(self.nodes[1], 2)
def setup_network(self):
- super(NodeNetworkLimitedTest, self).setup_network()
- self.disconnect_all()
+ self.add_nodes(self.num_nodes, self.extra_args)
+ self.start_nodes()
def run_test(self):
node = self.nodes[0].add_p2p_connection(P2PIgnoreInv())