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/functional_tests | |
| parent | 22b644f47ee2de8a962d00588579076e7a55455a (diff) | |
| download | monzero-core-c7bfdc356618fd1ccbe0f87fd5009e944cd12e50.tar.gz monzero-core-c7bfdc356618fd1ccbe0f87fd5009e944cd12e50.tar.xz monzero-core-c7bfdc356618fd1ccbe0f87fd5009e944cd12e50.zip | |
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/functional_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])) |
