diff --git a/core/tests/run_tests_device_emu.sh b/core/tests/run_tests_device_emu.sh index ad8e686b1..f290a3484 100755 --- a/core/tests/run_tests_device_emu.sh +++ b/core/tests/run_tests_device_emu.sh @@ -22,7 +22,7 @@ export TREZOR_PATH=udp:127.0.0.1:21324 # run tests error=0 -if ! pytest "$@"; then +if ! pytest ../../tests "$@"; then error=1 fi kill $upy_pid diff --git a/legacy/script/test b/legacy/script/test index 99adb55b6..5481d3d9f 100755 --- a/legacy/script/test +++ b/legacy/script/test @@ -14,4 +14,4 @@ if [ "$EMULATOR" = 1 ]; then "${PYTHON:-python}" script/wait_for_emulator.py fi -"${PYTHON:-python}" -m pytest --pyargs trezorlib.tests.device_tests "$@" +"${PYTHON:-python}" -m pytest ../tests "$@"