Debian Codegraph @

examples/barebox/test_barebox.py

raw symbols SCIP
1 def test_barebox(command):
2 stdout, stderr, returncode = command.run("version")
3 assert returncode == 0
4 assert stdout
5 assert not stderr
6 assert "barebox" in "\n".join(stdout)
7
8 stdout, stderr, returncode = command.run("false")
9 assert returncode == 1
10 assert not stdout
11 assert not stderr