Skip to content

Commit

Permalink
[tests] fix nits.
Browse files Browse the repository at this point in the history
Thanks to Marco Falke.
  • Loading branch information
jnewbery committed Jun 29, 2017
1 parent 05b8c08 commit 5ba83c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion test/functional/test_framework/test_framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,8 @@ def stop_node(self, i):
except http.client.CannotSendRequest as e:
self.log.exception("Unable to stop node")
return_code = self.bitcoind_processes[i].wait(timeout=BITCOIND_PROC_WAIT_TIMEOUT)
assert_equal(return_code, 0)
del self.bitcoind_processes[i]
assert_equal(return_code, 0)

def stop_nodes(self):
"""Stop multiple bitcoind test nodes"""
Expand Down
3 changes: 0 additions & 3 deletions test/functional/test_framework/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,6 @@ def p2p_port(n):
def rpc_port(n):
return PORT_MIN + PORT_RANGE + n + (MAX_NODES * PortSeed.n) % (PORT_RANGE - 1 - MAX_NODES)

def rpc_auth_pair(n):
return 'rpcuser💻' + str(n), 'rpcpass🔑' + str(n)

def rpc_url(datadir, i, rpchost=None):
rpc_u, rpc_p = get_auth_cookie(datadir, i)
host = '127.0.0.1'
Expand Down

0 comments on commit 5ba83c1

Please sign in to comment.