We need a test which is normally skipped, but could be turned on by command line or similar means. This will help work with the radio as we develop the firmware.
Pytest "skipping" might work well:
https://pytest.readthedocs.io/en/reorganize-docs/new-docs/user/skipping.html
Needs
- During a unit test, connect to an actual serial port (let's use
/dev/ttyUSB0 for now)
- Send a packet such as a ping or just some string value
- Consider having the test send a long duration of repetative packets (i.e. one ever seconds for 60 seconds)
We need a test which is normally skipped, but could be turned on by command line or similar means. This will help work with the radio as we develop the firmware.
Pytest "skipping" might work well:
https://pytest.readthedocs.io/en/reorganize-docs/new-docs/user/skipping.html
Needs
/dev/ttyUSB0for now)