Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Device-specific asserts #345

Open
xpconanfan opened this issue Oct 5, 2017 · 0 comments
Open

Device-specific asserts #345

xpconanfan opened this issue Oct 5, 2017 · 0 comments
Assignees

Comments

@xpconanfan
Copy link
Collaborator

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)
@xpconanfan xpconanfan self-assigned this Oct 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant