diff --git a/tests/unit_tests/test_stitching.py b/tests/unit_tests/test_stitching.py index 5ae8842e..34d7fe7d 100644 --- a/tests/unit_tests/test_stitching.py +++ b/tests/unit_tests/test_stitching.py @@ -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(