diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-03-22 15:25:33 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-03-23 18:59:47 +0000 |
commit | c7bfdc356618fd1ccbe0f87fd5009e944cd12e50 (patch) | |
tree | 2f1154b5560f096dab5f2bbf531d83362eb8df1c /tests | |
parent | functional_tests: move RPC API to utils, it is not test specific (diff) | |
download | monero-c7bfdc356618fd1ccbe0f87fd5009e944cd12e50.tar.xz |
python-rpc: add console.py
It allows one to connect to a running daemon or wallet, and use
its RPC API from python.
Usage: python -i console.py <port>
It will detect whether it's talking to a daemon or wallet and
initialize itself accordingly.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/functional_tests/functional_tests_rpc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional_tests/functional_tests_rpc.py b/tests/functional_tests/functional_tests_rpc.py index 606b19e45..f2fef7e95 100755 --- a/tests/functional_tests/functional_tests_rpc.py +++ b/tests/functional_tests/functional_tests_rpc.py @@ -60,7 +60,7 @@ try: PYTHONPATH = os.environ['PYTHONPATH'] if 'PYTHONPATH' in os.environ else '' if len(PYTHONPATH) > 0: PYTHONPATH += ':' - PYTHONPATH += '../../utils/python-rpc' + PYTHONPATH += srcdir + '/../../utils/python-rpc' os.environ['PYTHONPATH'] = PYTHONPATH for i in range(len(command_lines)): #print('Running: ' + str(command_lines[i])) |