Unverified Commit cd3d0bf5 authored by Lucas Saavedra Vaz's avatar Lucas Saavedra Vaz Committed by GitHub

fix(tests): Use proper API and check for required token (#10223)

parent 60cbb627
......@@ -132,6 +132,10 @@ while [ ! -z "$1" ]; do
-W )
shift
wokwi_timeout=$1
if [[ -z $WOKWI_CLI_TOKEN ]]; then
echo "Wokwi CLI token is not set"
exit 1
fi
platform="wokwi"
;;
-o )
......
def test_cfg(dut):
dut.expect("Hello cfg!")
dut.expect_exact("Hello cfg!")
def test_hello_world(dut):
dut.expect("Hello Arduino!")
dut.expect_exact("Hello Arduino!")
def test_nvs(dut):
dut.expect("Current counter value: 0")
dut.expect("Current counter value: 1")
dut.expect("Current counter value: 2")
dut.expect_exact("Current counter value: 0")
dut.expect_exact("Current counter value: 1")
dut.expect_exact("Current counter value: 2")
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment