Skip to content

Commit 76822dd

Browse files
UdjinM6PastaPastaPasta
authored andcommitted
fix imports
1 parent 4bfef1d commit 76822dd

File tree

8 files changed

+14
-3
lines changed

8 files changed

+14
-3
lines changed

test/functional/dip3-deterministicmns.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#
77
# Test deterministic masternodes
88
#
9+
import sys
910

1011
from test_framework.blocktools import create_block, create_coinbase, get_masternode_payment
1112
from test_framework.mininode import CTransaction, ToHex, FromHex, CTxOut, COIN, CCbTx

test/functional/fundrawtransaction-hd.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
# Distributed under the MIT software license, see the accompanying
44
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
55

6-
from test_framework.test_framework import BitcoinTestFramework
6+
import sys
7+
8+
from test_framework.test_framework import (BitcoinTestFramework, BITCOIND_PROC_WAIT_TIMEOUT)
79
from test_framework.util import *
810

911
# Create one-input, one-output, no-fee transaction:

test/functional/fundrawtransaction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
55
"""Test the fundrawtransaction RPC."""
66

7-
from test_framework.test_framework import BitcoinTestFramework, BITCOIND_PROC_WAIT_TIMEOUT
7+
from test_framework.test_framework import (BitcoinTestFramework, BITCOIND_PROC_WAIT_TIMEOUT)
88
from test_framework.util import *
99

1010

test/functional/keypool-hd.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
# Add python-bitcoinrpc to module search path:
99

10+
import sys
11+
1012
from test_framework.test_framework import BitcoinTestFramework
1113
from test_framework.util import *
1214

test/functional/wallet-dump.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# Distributed under the MIT software license, see the accompanying
44
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
55
"""Test the dumpwallet RPC."""
6+
import sys
67

78
from test_framework.test_framework import BitcoinTestFramework
89
from test_framework.util import *

test/functional/wallet-encryption.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
import time
88

9-
from test_framework.test_framework import BitcoinTestFramework, BITCOIND_PROC_WAIT_TIMEOUT
9+
from test_framework.test_framework import (BitcoinTestFramework, BITCOIND_PROC_WAIT_TIMEOUT)
1010
from test_framework.util import (
1111
assert_equal,
1212
assert_raises_jsonrpc,

test/functional/wallet-hd.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
55
"""Test Hierarchical Deterministic wallet function."""
66

7+
import sys
8+
import shutil
9+
710
from test_framework.test_framework import BitcoinTestFramework
811
from test_framework.util import *
912

test/functional/wallet.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# Distributed under the MIT software license, see the accompanying
44
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
55
"""Test the wallet."""
6+
import sys
7+
68
from test_framework.test_framework import BitcoinTestFramework
79
from test_framework.util import *
810

0 commit comments

Comments
 (0)