diff options
| author | Jonas Schnelli <[email protected]> | 2015-05-21 21:22:22 +0200 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2015-05-21 21:22:22 +0200 |
| commit | 7b7f258396432b6b4a0c111b06e34be03e42b000 (patch) | |
| tree | cf609391bc07a61daa8cff715a62934a32aa8241 /qa/rpc-tests/test_framework | |
| parent | pull-tester/rpc-tests.sh: disable script_test.py test (diff) | |
| download | discoin-7b7f258396432b6b4a0c111b06e34be03e42b000.tar.xz discoin-7b7f258396432b6b4a0c111b06e34be03e42b000.zip | |
rpc-tests: remove python-bitcoinrpc directory
place authproxy.py at same level as other utility classes
Diffstat (limited to 'qa/rpc-tests/test_framework')
| -rw-r--r-- | qa/rpc-tests/test_framework/authproxy.py (renamed from qa/rpc-tests/test_framework/python-bitcoinrpc/bitcoinrpc/authproxy.py) | 0 | ||||
| -rw-r--r-- | qa/rpc-tests/test_framework/python-bitcoinrpc/bitcoinrpc/.gitignore | 1 | ||||
| -rw-r--r-- | qa/rpc-tests/test_framework/python-bitcoinrpc/bitcoinrpc/__init__.py | 0 | ||||
| -rw-r--r-- | qa/rpc-tests/test_framework/python-bitcoinrpc/setup.py | 15 | ||||
| -rwxr-xr-x | qa/rpc-tests/test_framework/test_framework.py | 3 | ||||
| -rw-r--r-- | qa/rpc-tests/test_framework/util.py | 3 |
6 files changed, 2 insertions, 20 deletions
diff --git a/qa/rpc-tests/test_framework/python-bitcoinrpc/bitcoinrpc/authproxy.py b/qa/rpc-tests/test_framework/authproxy.py index bc7d655fd..bc7d655fd 100644 --- a/qa/rpc-tests/test_framework/python-bitcoinrpc/bitcoinrpc/authproxy.py +++ b/qa/rpc-tests/test_framework/authproxy.py diff --git a/qa/rpc-tests/test_framework/python-bitcoinrpc/bitcoinrpc/.gitignore b/qa/rpc-tests/test_framework/python-bitcoinrpc/bitcoinrpc/.gitignore deleted file mode 100644 index 0d20b6487..000000000 --- a/qa/rpc-tests/test_framework/python-bitcoinrpc/bitcoinrpc/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.pyc diff --git a/qa/rpc-tests/test_framework/python-bitcoinrpc/bitcoinrpc/__init__.py b/qa/rpc-tests/test_framework/python-bitcoinrpc/bitcoinrpc/__init__.py deleted file mode 100644 index e69de29bb..000000000 --- a/qa/rpc-tests/test_framework/python-bitcoinrpc/bitcoinrpc/__init__.py +++ /dev/null diff --git a/qa/rpc-tests/test_framework/python-bitcoinrpc/setup.py b/qa/rpc-tests/test_framework/python-bitcoinrpc/setup.py deleted file mode 100644 index 43cdb1c03..000000000 --- a/qa/rpc-tests/test_framework/python-bitcoinrpc/setup.py +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env python2 - -from distutils.core import setup - -setup(name='python-bitcoinrpc', - version='0.1', - description='Enhanced version of python-jsonrpc for use with Bitcoin', - long_description=open('README').read(), - author='Jeff Garzik', - author_email='<[email protected]>', - maintainer='Jeff Garzik', - maintainer_email='<[email protected]>', - url='http://www.github.com/jgarzik/python-bitcoinrpc', - packages=['bitcoinrpc'], - classifiers=['License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)', 'Operating System :: OS Independent']) diff --git a/qa/rpc-tests/test_framework/test_framework.py b/qa/rpc-tests/test_framework/test_framework.py index 15a357a34..5671431f6 100755 --- a/qa/rpc-tests/test_framework/test_framework.py +++ b/qa/rpc-tests/test_framework/test_framework.py @@ -8,13 +8,12 @@ # Add python-bitcoinrpc to module search path: import os import sys -sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), "python-bitcoinrpc")) import shutil import tempfile import traceback -from bitcoinrpc.authproxy import AuthServiceProxy, JSONRPCException +from authproxy import AuthServiceProxy, JSONRPCException from util import * diff --git a/qa/rpc-tests/test_framework/util.py b/qa/rpc-tests/test_framework/util.py index 997bbcc37..c236ec260 100644 --- a/qa/rpc-tests/test_framework/util.py +++ b/qa/rpc-tests/test_framework/util.py @@ -8,7 +8,6 @@ # Add python-bitcoinrpc to module search path: import os import sys -sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), "python-bitcoinrpc")) from decimal import Decimal, ROUND_DOWN import json @@ -18,7 +17,7 @@ import subprocess import time import re -from bitcoinrpc.authproxy import AuthServiceProxy, JSONRPCException +from authproxy import AuthServiceProxy, JSONRPCException from util import * def p2p_port(n): |