|
|
|
@ -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):
|
|
|
|
|
except JSONRPCException,e:
|
|
|
|
|
assert(e.error['code']==-12)
|
|
|
|
|
|
|
|
|
|
def main():
|
|
|
|
|
def main():
|
|
|
|
|
import optparse
|
|
|
|
|
|
|
|
|
|
parser = optparse.OptionParser(usage="%prog [options]")
|
|
|
|
|