Browse Source

[qa] Remove unused code

0.14
MarcoFalke 8 years ago
parent
commit
faaec1377c
  1. 2
      qa/pull-tester/rpc-tests.py
  2. 2
      qa/rpc-tests/importprunedfunds.py
  3. 6
      qa/rpc-tests/rpcbind_test.py
  4. 2
      qa/rpc-tests/segwit.py

2
qa/pull-tester/rpc-tests.py

@ -77,8 +77,6 @@ for arg in sys.argv[1:]:
#Set env vars #Set env vars
if "BITCOIND" not in os.environ: if "BITCOIND" not in os.environ:
os.environ["BITCOIND"] = BUILDDIR + '/src/bitcoind' + EXEEXT os.environ["BITCOIND"] = BUILDDIR + '/src/bitcoind' + EXEEXT
if "BITCOINCLI" not in os.environ:
os.environ["BITCOINCLI"] = BUILDDIR + '/src/bitcoin-cli' + EXEEXT
if EXEEXT == ".exe" and "-win" not in opts: if EXEEXT == ".exe" and "-win" not in opts:
# https://github.com/bitcoin/bitcoin/commit/d52802551752140cf41f0d9a225a43e84404d3e9 # https://github.com/bitcoin/bitcoin/commit/d52802551752140cf41f0d9a225a43e84404d3e9

2
qa/rpc-tests/importprunedfunds.py

@ -5,7 +5,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 *
import decimal
class ImportPrunedFundsTest(BitcoinTestFramework): class ImportPrunedFundsTest(BitcoinTestFramework):

6
qa/rpc-tests/rpcbind_test.py

@ -5,13 +5,11 @@
# Test for -rpcbind, as well as -rpcallowip and -rpcconnect # Test for -rpcbind, as well as -rpcallowip and -rpcconnect
import tempfile
import traceback
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.netutil import * from test_framework.netutil import *
class RPCBindTest(BitcoinTestFramework): class RPCBindTest(BitcoinTestFramework):
def __init__(self): def __init__(self):
@ -109,4 +107,4 @@ class RPCBindTest(BitcoinTestFramework):
pass pass
if __name__ == '__main__': if __name__ == '__main__':
RPCBindTest ().main () RPCBindTest().main()

2
qa/rpc-tests/segwit.py

@ -10,8 +10,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.mininode import sha256, ripemd160 from test_framework.mininode import sha256, ripemd160
import os
import shutil
NODE_0 = 0 NODE_0 = 0
NODE_1 = 1 NODE_1 = 1

Loading…
Cancel
Save