[qa] keypool: Fix white space to prepare transition to test framework
This commit is contained in:
parent
6876a78b86
commit
c6973ca03b
1 changed files with 84 additions and 84 deletions
|
@ -39,7 +39,7 @@ def check_array_result(object_array, to_match, expected):
|
||||||
if num_matched == 0:
|
if num_matched == 0:
|
||||||
raise AssertionError("No objects matched %s"%(str(to_match)))
|
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
|
# Encrypt wallet and wait to terminate
|
||||||
nodes[0].encryptwallet('test')
|
nodes[0].encryptwallet('test')
|
||||||
bitcoind_processes[0].wait()
|
bitcoind_processes[0].wait()
|
||||||
|
@ -89,7 +89,7 @@ def run_test(nodes, tmpdir):
|
||||||
except JSONRPCException,e:
|
except JSONRPCException,e:
|
||||||
assert(e.error['code']==-12)
|
assert(e.error['code']==-12)
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
import optparse
|
import optparse
|
||||||
|
|
||||||
parser = optparse.OptionParser(usage="%prog [options]")
|
parser = optparse.OptionParser(usage="%prog [options]")
|
||||||
|
|
Loading…
Add table
Reference in a new issue