diff --git a/README.md b/README.md index af2afce..8b80dbb 100644 --- a/README.md +++ b/README.md @@ -207,7 +207,7 @@ pytest -m unit pytest -m int ``` -* To run the smoke test with only one device connected serially: +* To run the smoke test with only one device connected serially (aka smoke1): ``` pytest -m smoke1 @@ -216,6 +216,18 @@ pytest -m smoke1 CAUTION: Running smoke1 will reset values on the device, including the region to 1 (US). Be sure to hit the reset button on the device after the test is completed. +* To run the smoke test with only two device connected serially (aka smoke2): + +``` +pytest -m smoke2 +``` + +* To run the wifi smoke test: + +``` +pytest -m smokewifi +``` + * To run a specific test: ``` diff --git a/meshtastic/test/test_smoke2.py b/meshtastic/test/test_smoke2.py index 8919f7e..4788a2e 100644 --- a/meshtastic/test/test_smoke2.py +++ b/meshtastic/test/test_smoke2.py @@ -19,5 +19,5 @@ def test_smoke2_test(): return_value, out = subprocess.getstatusoutput('meshtastic --test') assert re.search(r'Writing serial debugging', out, re.MULTILINE) assert re.search(r'Ports opened', out, re.MULTILINE) - assert re.search(r'Running 50 tests', out, re.MULTILINE) + assert re.search(r'Running 5 tests', out, re.MULTILINE) assert return_value == 0