From: Simon Glass <sjg@chromium.org> Unbind the test node at the start of this test, so that it can be run independently from test_bind_unbind_with_node() Signed-off-by: Simon Glass <sjg@chromium.org> --- test/py/tests/test_bind.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/py/tests/test_bind.py b/test/py/tests/test_bind.py index 16c63ae9684..4982a00fab6 100644 --- a/test/py/tests/test_bind.py +++ b/test/py/tests/test_bind.py @@ -121,6 +121,10 @@ def get_next_line(tree, name): @pytest.mark.buildconfigspec('cmd_bind') @pytest.mark.singlethread def test_bind_unbind_with_uclass(ubman): + # Ensure /bind-test is unbound, since it may be bound from DT or the + # previous tests + ubman.run_command('unbind /bind-test') + #bind /bind-test response = ubman.run_command('bind /bind-test simple_bus') assert response == '' -- 2.43.0