From a81182ab5ecf8920391f48cf0c27090fffb55031 Mon Sep 17 00:00:00 2001 From: grdddj Date: Wed, 25 Oct 2023 11:05:47 +0200 Subject: [PATCH] WIP - trying to run CI tests with older emulators --- src/binaries/firmware/bin/download.sh | 2 +- tests/controller_test.py | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/binaries/firmware/bin/download.sh b/src/binaries/firmware/bin/download.sh index ab9dca7..3e49b83 100755 --- a/src/binaries/firmware/bin/download.sh +++ b/src/binaries/firmware/bin/download.sh @@ -35,7 +35,7 @@ if ! wget --no-config -e robots=off --no-verbose --no-clobber --no-parent --cut- echo "Unable to fetch released emulators from $SITE" echo "You will have only available latest builds from CI" echo - fi +fi # download emulator from master TMP_DIR="$BIN_DIR/tmp" diff --git a/tests/controller_test.py b/tests/controller_test.py index d7d969c..2053d6c 100644 --- a/tests/controller_test.py +++ b/tests/controller_test.py @@ -16,9 +16,9 @@ URL = f"ws://{HOST}:{PORT}" BRIDGE_TO_TEST = "2.0.33" -EMU_TO_TEST_TT = "2-master" -EMU_TO_TEST_T1 = "1-master" -EMU_TO_TEST_TR = "2-master" +EMU_TO_TEST_TT = "2.6.1" +EMU_TO_TEST_T1 = "1.12.1" +# EMU_TO_TEST_TR = "2-master" # So that the async tests are understood by pytest pytestmark = pytest.mark.asyncio @@ -191,10 +191,10 @@ async def test_emulator_t1_start_stop(websocket) -> None: ) -async def test_emulator_tr_start_stop(websocket) -> None: - await _test_start_stop( - websocket, component="emulator", version=EMU_TO_TEST_TR, model="R" - ) +# async def test_emulator_tr_start_stop(websocket) -> None: +# await _test_start_stop( +# websocket, component="emulator", version=EMU_TO_TEST_TR, model="R" +# ) @pytest.mark.parametrize("payload", commands_success)