MCPcopy Create free account
hub / github.com/ElementsProject/elements / test_connection_count

Method test_connection_count

test/functional/rpc_net.py:74–77  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

72 self.test_addpeeraddress()
73
74 def test_connection_count(self):
75 self.log.info("Test getconnectioncount")
76 # After using `connect_nodes` to connect nodes 0 and 1 to each other.
77 assert_equal(self.nodes[0].getconnectioncount(), 2)
78
79 def test_getpeerinfo(self):
80 self.log.info("Test getpeerinfo")

Callers 1

run_testMethod · 0.95

Calls 2

assert_equalFunction · 0.90
infoMethod · 0.80

Tested by

no test coverage detected