Browse Source

Remove unused module from rpc-tests

0.15
Takashi Mitsuta 8 years ago
parent
commit
a432aa0aa8
  1. 2
      qa/rpc-tests/bip68-112-113-p2p.py
  2. 2
      qa/rpc-tests/bip68-sequence.py
  3. 2
      qa/rpc-tests/bumpfee.py
  4. 1
      qa/rpc-tests/p2p-compactblocks.py
  5. 6
      qa/rpc-tests/rpcnamedargs.py
  6. 2
      qa/rpc-tests/wallet-accounts.py

2
qa/rpc-tests/bip68-112-113-p2p.py

@ -5,7 +5,7 @@
from test_framework.test_framework import ComparisonTestFramework from test_framework.test_framework import ComparisonTestFramework
from test_framework.util import * from test_framework.util import *
from test_framework.mininode import ToHex, CTransaction, NetworkThread from test_framework.mininode import ToHex, NetworkThread
from test_framework.blocktools import create_coinbase, create_block from test_framework.blocktools import create_coinbase, create_block
from test_framework.comptool import TestInstance, TestManager from test_framework.comptool import TestInstance, TestManager
from test_framework.script import * from test_framework.script import *

2
qa/rpc-tests/bip68-sequence.py

@ -9,8 +9,6 @@
from test_framework.test_framework import BitcoinTestFramework from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import * from test_framework.util import *
from test_framework.script import *
from test_framework.mininode import *
from test_framework.blocktools import * from test_framework.blocktools import *
SEQUENCE_LOCKTIME_DISABLE_FLAG = (1<<31) SEQUENCE_LOCKTIME_DISABLE_FLAG = (1<<31)

2
qa/rpc-tests/bumpfee.py

@ -8,10 +8,8 @@ from test_framework.test_framework import BitcoinTestFramework
from test_framework import blocktools from test_framework import blocktools
from test_framework.mininode import CTransaction from test_framework.mininode import CTransaction
from test_framework.util import * from test_framework.util import *
from test_framework.util import *
import io import io
import time
# Sequence number that is BIP 125 opt-in and BIP 68-compliant # Sequence number that is BIP 125 opt-in and BIP 68-compliant
BIP125_SEQUENCE_NUMBER = 0xfffffffd BIP125_SEQUENCE_NUMBER = 0xfffffffd

1
qa/rpc-tests/p2p-compactblocks.py

@ -7,7 +7,6 @@ from test_framework.mininode import *
from test_framework.test_framework import BitcoinTestFramework from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import * from test_framework.util import *
from test_framework.blocktools import create_block, create_coinbase, add_witness_commitment from test_framework.blocktools import create_block, create_coinbase, add_witness_commitment
from test_framework.siphash import siphash256
from test_framework.script import CScript, OP_TRUE from test_framework.script import CScript, OP_TRUE
''' '''

6
qa/rpc-tests/rpcnamedargs.py

@ -3,17 +3,11 @@
# Distributed under the MIT software license, see the accompanying # Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php. # file COPYING or http://www.opensource.org/licenses/mit-license.php.
from decimal import Decimal
from test_framework.test_framework import BitcoinTestFramework from test_framework.test_framework import BitcoinTestFramework
from test_framework.authproxy import JSONRPCException
from test_framework.util import ( from test_framework.util import (
assert_equal, assert_equal,
assert_raises_jsonrpc, assert_raises_jsonrpc,
assert_is_hex_string,
assert_is_hash_string,
start_nodes, start_nodes,
connect_nodes_bi,
) )

2
qa/rpc-tests/wallet-accounts.py

@ -6,9 +6,7 @@
from test_framework.test_framework import BitcoinTestFramework from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import ( from test_framework.util import (
start_nodes, start_nodes,
start_node,
assert_equal, assert_equal,
connect_nodes_bi,
) )

Loading…
Cancel
Save