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

Method custom_method

test/functional/example_test.py:128–135  ·  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

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

Callers 1

run_testMethod · 0.95

Calls 1

infoMethod · 0.80

Tested by

no test coverage detected