test: pep8 wallet_multiwallet.py
This commit is contained in:
1 file changed
+3
-1
@@ -23,6 +23,8 @@ from test_framework.util import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
got_loading_error = False
|
got_loading_error = False
|
||||||
|
|
||||||
|
|
||||||
def test_load_unload(node, name):
|
def test_load_unload(node, name):
|
||||||
global got_loading_error
|
global got_loading_error
|
||||||
for _ in range(10):
|
for _ in range(10):
|
||||||
@@ -278,7 +280,7 @@ class MultiWalletTest(BitcoinTestFramework):
|
|||||||
threads = []
|
threads = []
|
||||||
for _ in range(3):
|
for _ in range(3):
|
||||||
n = node.cli if self.options.usecli else get_rpc_proxy(node.url, 1, timeout=600, coveragedir=node.coverage_dir)
|
n = node.cli if self.options.usecli else get_rpc_proxy(node.url, 1, timeout=600, coveragedir=node.coverage_dir)
|
||||||
t = Thread(target=test_load_unload, args=(n, wallet_names[2], ))
|
t = Thread(target=test_load_unload, args=(n, wallet_names[2]))
|
||||||
t.start()
|
t.start()
|
||||||
threads.append(t)
|
threads.append(t)
|
||||||
for t in threads:
|
for t in threads:
|
||||||
|
|||||||
Reference in new issue
Block a user