fix imports

This commit is contained in:
UdjinM6 2019-08-09 02:21:11 +03:00 committed by Pasta
parent 4bfef1daad
commit 76822dd509
No known key found for this signature in database
GPG Key ID: D362C9F7142766AE
8 changed files with 14 additions and 3 deletions

View File

@ -6,6 +6,7 @@
#
# Test deterministic masternodes
#
import sys
from test_framework.blocktools import create_block, create_coinbase, get_masternode_payment
from test_framework.mininode import CTransaction, ToHex, FromHex, CTxOut, COIN, CCbTx

View File

@ -3,7 +3,9 @@
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
from test_framework.test_framework import BitcoinTestFramework
import sys
from test_framework.test_framework import (BitcoinTestFramework, BITCOIND_PROC_WAIT_TIMEOUT)
from test_framework.util import *
# Create one-input, one-output, no-fee transaction:

View File

@ -4,7 +4,7 @@
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
"""Test the fundrawtransaction RPC."""
from test_framework.test_framework import BitcoinTestFramework, BITCOIND_PROC_WAIT_TIMEOUT
from test_framework.test_framework import (BitcoinTestFramework, BITCOIND_PROC_WAIT_TIMEOUT)
from test_framework.util import *

View File

@ -7,6 +7,8 @@
# Add python-bitcoinrpc to module search path:
import sys
from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import *

View File

@ -3,6 +3,7 @@
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
"""Test the dumpwallet RPC."""
import sys
from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import *

View File

@ -6,7 +6,7 @@
import time
from test_framework.test_framework import BitcoinTestFramework, BITCOIND_PROC_WAIT_TIMEOUT
from test_framework.test_framework import (BitcoinTestFramework, BITCOIND_PROC_WAIT_TIMEOUT)
from test_framework.util import (
assert_equal,
assert_raises_jsonrpc,

View File

@ -4,6 +4,9 @@
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
"""Test Hierarchical Deterministic wallet function."""
import sys
import shutil
from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import *

View File

@ -3,6 +3,8 @@
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
"""Test the wallet."""
import sys
from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import *