Skip to content

Commit 7b7f258

Browse files
committed
rpc-tests: remove python-bitcoinrpc directory
place authproxy.py at same level as other utility classes
1 parent a85b2e2 commit 7b7f258

File tree

8 files changed

+2
-23
lines changed

8 files changed

+2
-23
lines changed

qa/rpc-tests/keypool.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,13 @@
88
# Add python-bitcoinrpc to module search path:
99
import os
1010
import sys
11-
sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), "test_framework/python-bitcoinrpc"))
1211

1312
import json
1413
import shutil
1514
import subprocess
1615
import tempfile
1716
import traceback
1817

19-
from bitcoinrpc.authproxy import AuthServiceProxy, JSONRPCException
2018
from test_framework.util import *
2119

2220

qa/rpc-tests/rpcbind_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
# Add python-bitcoinrpc to module search path:
99
import os
1010
import sys
11-
sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), "python-bitcoinrpc"))
1211

1312
import json
1413
import shutil

qa/rpc-tests/test_framework/python-bitcoinrpc/bitcoinrpc/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

qa/rpc-tests/test_framework/python-bitcoinrpc/bitcoinrpc/__init__.py

Whitespace-only changes.

qa/rpc-tests/test_framework/python-bitcoinrpc/setup.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

qa/rpc-tests/test_framework/test_framework.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,12 @@
88
# Add python-bitcoinrpc to module search path:
99
import os
1010
import sys
11-
sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), "python-bitcoinrpc"))
1211

1312
import shutil
1413
import tempfile
1514
import traceback
1615

17-
from bitcoinrpc.authproxy import AuthServiceProxy, JSONRPCException
16+
from authproxy import AuthServiceProxy, JSONRPCException
1817
from util import *
1918

2019

qa/rpc-tests/test_framework/util.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
# Add python-bitcoinrpc to module search path:
99
import os
1010
import sys
11-
sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), "python-bitcoinrpc"))
1211

1312
from decimal import Decimal, ROUND_DOWN
1413
import json
@@ -18,7 +17,7 @@
1817
import time
1918
import re
2019

21-
from bitcoinrpc.authproxy import AuthServiceProxy, JSONRPCException
20+
from authproxy import AuthServiceProxy, JSONRPCException
2221
from util import *
2322

2423
def p2p_port(n):

0 commit comments

Comments
 (0)