Skip to content

Commit 5ba83c1

Browse files
committed
[tests] fix nits.
Thanks to Marco Falke.
1 parent 05b8c08 commit 5ba83c1

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

test/functional/test_framework/test_framework.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,8 @@ def stop_node(self, i):
255255
except http.client.CannotSendRequest as e:
256256
self.log.exception("Unable to stop node")
257257
return_code = self.bitcoind_processes[i].wait(timeout=BITCOIND_PROC_WAIT_TIMEOUT)
258-
assert_equal(return_code, 0)
259258
del self.bitcoind_processes[i]
259+
assert_equal(return_code, 0)
260260

261261
def stop_nodes(self):
262262
"""Stop multiple bitcoind test nodes"""

test/functional/test_framework/util.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,6 @@ def p2p_port(n):
203203
def rpc_port(n):
204204
return PORT_MIN + PORT_RANGE + n + (MAX_NODES * PortSeed.n) % (PORT_RANGE - 1 - MAX_NODES)
205205

206-
def rpc_auth_pair(n):
207-
return 'rpcuser💻' + str(n), 'rpcpass🔑' + str(n)
208-
209206
def rpc_url(datadir, i, rpchost=None):
210207
rpc_u, rpc_p = get_auth_cookie(datadir, i)
211208
host = '127.0.0.1'

0 commit comments

Comments
 (0)