File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
test/functional/test_framework Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 18
18
import tempfile
19
19
import time
20
20
21
+ from typing import List
21
22
from .authproxy import JSONRPCException
22
23
from . import coverage
23
24
from .p2p import NetworkThread
@@ -89,14 +90,11 @@ class BitcoinTestFramework(metaclass=BitcoinTestMetaClass):
89
90
90
91
This class also contains various public and private helper methods."""
91
92
92
- chain = None # type: str
93
- setup_clean_chain = None # type: bool
94
-
95
93
def __init__ (self ):
96
94
"""Sets test framework defaults. Do not override this method. Instead, override the set_test_params() method"""
97
- self .chain = 'regtest'
98
- self .setup_clean_chain = False
99
- self .nodes = []
95
+ self .chain : str = 'regtest'
96
+ self .setup_clean_chain : bool = False
97
+ self .nodes : List [ TestNode ] = []
100
98
self .network_thread = None
101
99
self .rpc_timeout = 60 # Wait for up to 60 seconds for the RPC server to respond
102
100
self .supports_cli = True
You can’t perform that action at this time.
0 commit comments