diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2017-09-01 15:44:05 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2017-09-01 15:51:49 -0700 |
commit | ec20f01ba0945a3113797ac98a6b3500e24603d4 (patch) | |
tree | 8620fc258e14e88db9b3573fd06808d76d931fe4 | |
parent | 28f788e47e58f2b462351d6989348a4e1a241b2b (diff) | |
parent | 3918d93f3cd2305dc12cb964aebba0fc1f8720b4 (diff) |
Merge #11215: [tests] fixups from set_test_params()
3918d93f3 [tests] fixups from set_test_params() (John Newbery)
Pull request description:
#11121 had a silent merge conflict in `bitcoin_cli.py`. This fixes it.
Also fixes a comment in `example_test.py`
Tree-SHA512: f22a645c51c9aeda005526338ad6f2ee07f2bab172847fc54f51fecf1c79e778970be61e5e637d4e0aba3a02e5aba0737b0b57f1bc11a514a1acd94c221b54d6
-rwxr-xr-x | test/functional/bitcoin_cli.py | 3 | ||||
-rwxr-xr-x | test/functional/example_test.py | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/test/functional/bitcoin_cli.py b/test/functional/bitcoin_cli.py index 1033202092..7acfede3f7 100755 --- a/test/functional/bitcoin_cli.py +++ b/test/functional/bitcoin_cli.py @@ -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 diff --git a/test/functional/example_test.py b/test/functional/example_test.py index 43f3415c8c..87d73ad14a 100755 --- a/test/functional/example_test.py +++ b/test/functional/example_test.py @@ -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 |