Skip to content

Commit 1d524c6

Browse files
committed
tests: rename 'test_getnetworkinginfo' in 'test_getnetworkinfo'
Since it's the name of the RPC call
1 parent 07a8f65 commit 1d524c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/functional/rpc_net.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def set_test_params(self):
5656
def run_test(self):
5757
self._test_connection_count()
5858
self._test_getnettotals()
59-
self._test_getnetworkinginfo()
59+
self._test_getnetworkinfo()
6060
self._test_getaddednodeinfo()
6161
self._test_getpeerinfo()
6262
self._test_getnodeaddresses()
@@ -95,7 +95,7 @@ def _test_getnettotals(self):
9595
assert_greater_than_or_equal(after['bytesrecv_per_msg'].get('pong', 0), before['bytesrecv_per_msg'].get('pong', 0) + 32)
9696
assert_greater_than_or_equal(after['bytessent_per_msg'].get('ping', 0), before['bytessent_per_msg'].get('ping', 0) + 32)
9797

98-
def _test_getnetworkinginfo(self):
98+
def _test_getnetworkinfo(self):
9999
assert_equal(self.nodes[0].getnetworkinfo()['networkactive'], True)
100100
assert_equal(self.nodes[0].getnetworkinfo()['connections'], 2)
101101

0 commit comments

Comments
 (0)