[Pkg-bitcoin-commits] [bitcoin] 18/126: [tests] fixups from set_test_params()

Jonas Smedegaard dr at jones.dk
Mon Nov 13 20:00:29 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag debian/0.15.1_dfsg-1
in repository bitcoin.

commit cef03198dcdca63d88bf8f50edcc79fa6b268261
Author: John Newbery <john at johnnewbery.com>
Date:   Fri Sep 1 14:24:30 2017 -0400

    [tests] fixups from set_test_params()
    
    Github-Pull: #11215
    Rebased-From: 3918d93f3cd2305dc12cb964aebba0fc1f8720b4
---
 test/functional/bitcoin_cli.py  | 3 +--
 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 1033202..7acfede 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 936aceb..228e150 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/bitcoin.git



More information about the Pkg-bitcoin-commits mailing list