diff --git a/qa/rpc-tests/cryptoconditions.py b/qa/rpc-tests/cryptoconditions.py index 7dc8c2d07..24bd2925b 100755 --- a/qa/rpc-tests/cryptoconditions.py +++ b/qa/rpc-tests/cryptoconditions.py @@ -62,7 +62,10 @@ class CryptoConditionsTest (BitcoinTestFramework): # Begin actual CC tests faucet = rpc.faucetaddress() assert_equal(faucet['result'], 'success') - assert_equal(faucet['myaddress'][0], 'R') + # verify all keys look like valid AC addrs, could be better + for x in ['myCCaddress', 'FaucetCCaddress', 'Faucetmarker', 'myaddress']: + assert_equal(faucet[x][0], 'R') + if __name__ == '__main__': CryptoConditionsTest ().main () diff --git a/qa/rpc-tests/test_framework/util.py b/qa/rpc-tests/test_framework/util.py index 2c63a9b23..856ae5a05 100644 --- a/qa/rpc-tests/test_framework/util.py +++ b/qa/rpc-tests/test_framework/util.py @@ -208,7 +208,6 @@ def start_node(i, dirname, extra_args=None, rpchost=None, timewait=None, binary= cmd = os.getenv("BITCOINCLI", "komodo-cli") print("cmd=" + cmd) - #TODO: this will only work on the regtest AC, and probably breaks non-CC tests cmd_args = ' '.join(extra_args) + " -rpcwait getblockcount " if os.getenv("PYTHON_DEBUG", ""): print "start_node: komodod started, calling : " + cmd + " " + cmd_args @@ -225,6 +224,7 @@ def start_node(i, dirname, extra_args=None, rpchost=None, timewait=None, binary= print "start_node: calling komodo-cli -rpcwait getblockcount returned" devnull.close() #url = "http://rt:rt@%s:%d" % (rpchost or '127.0.0.1', rpc_port(i)) + #TODO: this breaks non CC tests url = "http://rt:rt@%s:%d" % (rpchost or '127.0.0.1', 64368) print("connecting to " + url) if timewait is not None: