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)
| 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""" |