MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / custom_method

Method custom_method

test/functional/example_test.py:133–140  ·  view source on GitHub ↗

Do some custom behaviour for this test Define it in a method here because you're going to use it repeatedly. If you think it's useful in general, consider moving it to the base BitcoinTestFramework class so other tests can use it.

(self)

Source from the content-addressed store, hash-verified

131 # pass
132
133 def custom_method(self):
134 """Do some custom behaviour for this test
135
136 Define it in a method here because you're going to use it repeatedly.
137 If you think it's useful in general, consider moving it to the base
138 BitcoinTestFramework class so other tests can use it."""
139
140 self.log.info("Running custom_method")
141
142 def run_test(self):
143 """Main test logic"""

Callers 1

run_testMethod · 0.95

Calls 1

infoMethod · 0.80

Tested by

no test coverage detected