diff options
author | luigi1111 <luigi1111w@gmail.com> | 2019-10-25 13:38:21 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2019-10-25 13:38:21 -0500 |
commit | 960c2158010d30a375207310a36a7a942b9285d2 (patch) | |
tree | 46d25ec0db661fd62fd1a683dea3b1ecbf620089 /tests/functional_tests/daemon_info.py | |
parent | Merge pull request #6002 (diff) | |
parent | simplewallet: add public_nodes command (diff) | |
download | monero-960c2158010d30a375207310a36a7a942b9285d2.tar.xz |
Merge pull request #5357
b3a9a4d add a quick early out to get_blocks.bin when up to date (moneromooo-monero)
2899379 daemon, wallet: new pay for RPC use system (moneromooo-monero)
ffa4602 simplewallet: add public_nodes command (moneromooo-monero)
Diffstat (limited to '')
-rwxr-xr-x | tests/functional_tests/daemon_info.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/functional_tests/daemon_info.py b/tests/functional_tests/daemon_info.py index 4fa768b03..14fc14062 100755 --- a/tests/functional_tests/daemon_info.py +++ b/tests/functional_tests/daemon_info.py @@ -37,6 +37,7 @@ Test the following RPCs: """ from __future__ import print_function +import os from framework.daemon import Daemon class DaemonGetInfoTest(): @@ -63,7 +64,7 @@ class DaemonGetInfoTest(): # difficulty should be set to 1 for this test assert 'difficulty' in res.keys() - assert res.difficulty == 1; + assert res.difficulty == int(os.environ['DIFFICULTY']) # nettype should not be TESTNET assert 'testnet' in res.keys() |