Device-specific asserts
Open
new feature
- Dominant language
- Python
- Stars
- 752
- Forks
- 222
- Avg merge
- 14d 18h
- Merged PRs (30d)
- 1
Description
Similar to `device.log`, which prepends device debug tag to the log msg, it would be nice to have a set of `asserts` functions specific to a device.
This way we could simply do
```
device.assert_true(xxx, msg)
```
instead of having to do string formatting every time:
```
asserts.assert_true(xxx, '%s msg` % device.debug_tag)
```
Contributor guide
Assessment
This issue has not been assessed yet.