had to move test dir to tests because of pytest looking for __init__.py

This commit is contained in:
Mike Kinney
2021-12-09 17:20:13 -08:00
parent 7ea6a85c31
commit 80d13eac85
16 changed files with 85 additions and 23 deletions

View File

@@ -231,11 +231,11 @@ pytest -m smokewifi
* To run a specific test:
```
pytest -msmoke1 meshtastic/test/test_smoke1.py::test_smoke1_info
pytest -msmoke1 meshtastic/tests/test_smoke1.py::test_smoke1_info
# or to run a specific smoke2 test
pytest -m smoke2 meshtastic/test/test_smoke2.py::test_smoke2_info
pytest -m smoke2 meshtastic/tests/test_smoke2.py::test_smoke2_info
# or to run a specific smoke_wifi test
pytest -m smokewifi meshtastic/test/test_smoke_wifi.py::test_smokewifi_info
pytest -m smokewifi meshtastic/tests/test_smoke_wifi.py::test_smokewifi_info
```
* To add another classification of tests such as "unit" or "smoke1", see [pytest.ini](pytest.ini).