Browse Source

[qa] keypool: Fix white space to prepare transition to test framework

0.13
MarcoFalke 9 years ago
parent
commit
c6973ca03b
  1. 4
      qa/rpc-tests/keypool.py

4
qa/rpc-tests/keypool.py

@ -39,7 +39,7 @@ def check_array_result(object_array, to_match, expected): @@ -39,7 +39,7 @@ def check_array_result(object_array, to_match, expected):
if num_matched == 0:
raise AssertionError("No objects matched %s"%(str(to_match)))
def run_test(nodes, tmpdir):
def run_test(nodes, tmpdir):
# Encrypt wallet and wait to terminate
nodes[0].encryptwallet('test')
bitcoind_processes[0].wait()
@ -89,7 +89,7 @@ def run_test(nodes, tmpdir): @@ -89,7 +89,7 @@ def run_test(nodes, tmpdir):
except JSONRPCException,e:
assert(e.error['code']==-12)
def main():
def main():
import optparse
parser = optparse.OptionParser(usage="%prog [options]")

Loading…
Cancel
Save