From fd2b0dca177b057aa6887640a5978abcf0315f0a Mon Sep 17 00:00:00 2001 From: timemarkovqtum Date: Mon, 25 Sep 2023 16:37:10 +0200 Subject: [PATCH] Update test readme --- tests/README.md | 4 ++-- tests_mainnet/README.md | 4 ++-- tests_mainnet/conftest.py | 2 +- tests_mainnet/test_dashboard.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/README.md b/tests/README.md index d37f6078b..43d368ea3 100644 --- a/tests/README.md +++ b/tests/README.md @@ -13,7 +13,7 @@ pip install -r requirements.txt Some tests require the `bitcoind 22.0` binary to be in the `$PATH` variable, or alternatively to be set as the `BITCOIND` environment variable in the shell running the tests: ``` -export BITCOIND=/path/to/my/bitcoind +export BITCOIND=/path/to/my/qtumd ``` ## Launch with Speculos @@ -46,4 +46,4 @@ Be sure to have you device connected through USB (without any other software int pytest --hid ``` -Please note that tests that require an automation file are meant for speculos, and will currently hang the test suite. \ No newline at end of file +Please note that tests that require an automation file are meant for speculos, and will currently hang the test suite. diff --git a/tests_mainnet/README.md b/tests_mainnet/README.md index c6d7d1656..ae6c16f8e 100644 --- a/tests_mainnet/README.md +++ b/tests_mainnet/README.md @@ -15,7 +15,7 @@ pip install -r requirements.txt Build the app as normal for mainnet from the root folder: ``` -COIN=bitcoin DEBUG=0 make +COIN=qtum DEBUG=0 make ``` Then run all the tests from this folder with: @@ -40,4 +40,4 @@ Be sure to have you device connected through USB (without any other software int pytest --hid ``` -Please note that tests that require an automation file are meant for speculos, and will currently hang the test suite. \ No newline at end of file +Please note that tests that require an automation file are meant for speculos, and will currently hang the test suite. diff --git a/tests_mainnet/conftest.py b/tests_mainnet/conftest.py index 47b6a7e2c..de6257301 100644 --- a/tests_mainnet/conftest.py +++ b/tests_mainnet/conftest.py @@ -4,7 +4,7 @@ # Make sure that the native client library is used, as speculos would otherwise # return a version number < 2.0.0 for the app -os.environ['SPECULOS_APPNAME'] = f'Bitcoin:{get_app_version()}' +os.environ['SPECULOS_APPNAME'] = f'Qtum:{get_app_version()}' os.environ["BITCOIN_NETWORK"] = "main" diff --git a/tests_mainnet/test_dashboard.py b/tests_mainnet/test_dashboard.py index 39e5afb7a..0f4997fb4 100644 --- a/tests_mainnet/test_dashboard.py +++ b/tests_mainnet/test_dashboard.py @@ -23,5 +23,5 @@ def test_dashboard(comm: SpeculosClient, is_speculos: bool, app_version: str, mo comm.wait_for_text_event("Quit") comm.press_and_release("right") - comm.wait_for_text_event("Bitcoin") + comm.wait_for_text_event("Qtum") comm.wait_for_text_event("is ready")