Skip to content

Device-specific asserts #345

Description

@xpconanfan

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions