mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-19 18:09:47 +01:00
[tests] fixups from set_test_params()
This commit is contained in:
parent
28f788e47e
commit
3918d93f3c
@ -8,8 +8,7 @@ from test_framework.util import assert_equal
|
||||
|
||||
class TestBitcoinCli(BitcoinTestFramework):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
def set_test_params(self):
|
||||
self.setup_clean_chain = True
|
||||
self.num_nodes = 1
|
||||
|
||||
|
@ -85,7 +85,7 @@ class ExampleTest(BitcoinTestFramework):
|
||||
# Use self.extra_args to change command-line arguments for the nodes
|
||||
self.extra_args = [[], ["-logips"], []]
|
||||
|
||||
# self.log.info("I've finished __init__") # Oops! Can't run self.log before run_test()
|
||||
# self.log.info("I've finished set_test_params") # Oops! Can't run self.log before run_test()
|
||||
|
||||
# Use add_options() to add specific command-line options for your test.
|
||||
# In practice this is not used very much, since the tests are mostly written
|
||||
|
Loading…
Reference in New Issue
Block a user