test_bind
Test for bind command
- test_bind.in_tree(response, name, uclass, drv, depth, last_child)
A helper function to confirm contents of the device tree
- test_bind.test_bind_unbind_with_node(ubman)
Test the bind and unbind commands of a node
Verify that the dm tree output contains some expected nodes, and then bind and unbind a USB via node device while verifying that the dm tree output matches the expected values at each step.
- test_bind.get_next_line(tree, name)
A helper function to strip content out of dm tree output
- test_bind.test_bind_unbind_with_uclass(ubman)
Test the bind and unbind commands of a class
Bind and unbind the simple_bus class while verifying that the dm tree output matches the expected values at each step.