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

Method run_test

test/functional/interface_zmq.py:114–127  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

112 self.skip_if_no_bitcoind_zmq()
113
114 def run_test(self):
115 util.node_fastmerkle = self.nodes[0]
116 self.ctx = zmq.Context()
117 try:
118 self.test_basic()
119 self.test_sequence()
120 self.test_mempool_sync()
121 self.test_reorg()
122 self.test_multiple_interfaces()
123 self.test_ipv6()
124 finally:
125 # Destroy the ZMQ context.
126 self.log.debug("Destroying ZMQ context")
127 self.ctx.destroy(linger=None)
128
129 # Restart node with the specified zmq notifications enabled, subscribe to
130 # all of them and return the corresponding ZMQSubscriber objects.

Callers

nothing calls this directly

Calls 6

test_basicMethod · 0.95
test_sequenceMethod · 0.95
test_mempool_syncMethod · 0.95
test_reorgMethod · 0.95
test_ipv6Method · 0.95

Tested by

no test coverage detected