Skip to content

Commit

Permalink
stages(kickstart): ensure no extra options under clearpart
Browse files Browse the repository at this point in the history
Fix an oversight from osbuild#1426
  • Loading branch information
mvo5 authored and supakeen committed Nov 15, 2023
1 parent 0529ae7 commit 2c41bcd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stages/test/test_kickstart.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ def test_kickstart_valid(tmp_path, test_input, expected): # pylint: disable=unu
({"clearpart": {"list": ["\n%pre not allowed"]}}, "not allowed' does not match"),
({"clearpart": {"list": ["no,comma"]}}, "no,comma' does not match"),
({"clearpart": {"disklabel": "\n%pre not allowed"}}, "not allowed' does not match"),
({"clearpart": {"random": "option"}}, "is not valid "),
# schema ensures reboot has at least one option set
({"reboot": {}}, "{} is not valid under any of the given schemas"),
({"reboot": "random-string"}, "'random-string' is not valid "),
Expand Down

0 comments on commit 2c41bcd

Please sign in to comment.