Ruff check

This commit is contained in:
Beth Probert 2026-03-05 13:42:55 +00:00
parent 48f6e1b369
commit fa9ea77812

View file

@ -46,7 +46,9 @@ def test_validate_command_forbidden():
):
validate_command(["sudo", "rm", "-rf", "/"])
with pytest.raises(StitcherValidationError, match="Forbidden element 'sh' detected"):
with pytest.raises(
StitcherValidationError, match="Forbidden element 'sh' detected"
):
validate_command(["sh", "-c", "whoami"])
with pytest.raises(