Fix running individually through test_runner.py, as suggested by @MarcoFalke (#14732)

This commit is contained in:
Kristaps Kaupe committed 2018-11-16 22:26:07 +02:00
1 parent 35739976c1
commit 2474de0265
2 files changed
+8 -18

No files matched your search

+2 -1
View File
@@ -25,12 +25,13 @@ def tx_from_hex(hexstring):
class ListTransactionsTest(BitcoinTestFramework):
def set_test_params(self):
self.num_nodes = 2
self.enable_mocktime()
def skip_test_if_missing_module(self):
self.skip_if_no_wallet()
def run_test(self):
self.nodes[0].generate(1) # Get out of IBD
self.sync_all()
# Simple send, 0 to 1:
txid = self.nodes[0].sendtoaddress(self.nodes[1].getnewaddress(), 0.1)
self.sync_all()