(self)
| 49 | self.supports_cli = False |
| 50 | |
| 51 | def run_test(self): |
| 52 | # We need miniwallet to make a transaction |
| 53 | self.wallet = MiniWallet(self.nodes[0]) |
| 54 | self.generate(self.wallet, 1) |
| 55 | # Get out of IBD for the minfeefilter and getpeerinfo tests. |
| 56 | self.generate(self.nodes[0], COINBASE_MATURITY + 1) |
| 57 | |
| 58 | # By default, the test framework sets up an addnode connection from |
| 59 | # node 1 --> node0. By connecting node0 --> node 1, we're left with |
| 60 | # the two nodes being connected both ways. |
| 61 | # Topology will look like: node0 <--> node1 |
| 62 | self.connect_nodes(0, 1) |
| 63 | self.sync_all() |
| 64 | |
| 65 | self.test_connection_count() |
| 66 | self.test_getpeerinfo() |
| 67 | self.test_getnettotals() |
| 68 | self.test_getnetworkinfo() |
| 69 | self.test_getaddednodeinfo() |
| 70 | self.test_service_flags() |
| 71 | self.test_getnodeaddresses() |
| 72 | self.test_addpeeraddress() |
| 73 | |
| 74 | def test_connection_count(self): |
| 75 | self.log.info("Test getconnectioncount") |
nothing calls this directly
no test coverage detected