tests: check "shell" is mentioned in stderr

Signed-off-by: Lars Wirzenius <liw@liw.fi>
This commit is contained in:
Lars Wirzenius
2024-01-10 17:38:05 +02:00
parent 453c741570
commit f4aa9e9977
+1 -2
View File
@@ -141,8 +141,7 @@ class Suite:
assert exit != 0
assert len(resps) == 1
self.assert_triggered(resps[0])
# FIXME: verify that stderr or build log contains complaint about shell
# missing
assert "shell" in stderr
def test_native_yaml_shell_is_not_string(self):
exit, resps, stderr = self._test_case("shell-not-string", {"foo": "bar"})