Debian Codegraph @

examples/barebox/test_bootchooser.py

raw symbols SCIP
1 import pytest
2
3
4 def test_bootchooser(command):
5 stdout, stderr, returncode = command.run("bootchooser -i")
6 if returncode == 127:
7 pytest.skip("bootchooser command not available")
8 assert returncode == 0
9 assert not stderr
10 assert stdout[0].startswith("Good targets")
11 assert stdout[1] != "none"