From 3184a63ef128dbccacddbd62036fd44bd42c93fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Ka=C5=88kovsk=C3=BD?= Date: Wed, 24 Jul 2024 09:43:11 +0200 Subject: [PATCH] Test for kickstart scripts --- .../modules/runtime/test_module_runtime.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/unit_tests/pyanaconda_tests/modules/runtime/test_module_runtime.py b/tests/unit_tests/pyanaconda_tests/modules/runtime/test_module_runtime.py index 631e0715b1a3..ed3b4f4a8bc4 100644 --- a/tests/unit_tests/pyanaconda_tests/modules/runtime/test_module_runtime.py +++ b/tests/unit_tests/pyanaconda_tests/modules/runtime/test_module_runtime.py @@ -47,7 +47,12 @@ def test_kickstart_properties(self): "cmdline", "vnc"] assert self.interface.KickstartCommands == commands - assert self.interface.KickstartSections == [] + sections = ['pre', + 'pre-install', + 'post', + 'onerror', + 'traceback'] + assert self.interface.KickstartSections == sections assert self.interface.KickstartAddons == [] def _test_kickstart(self, ks_in, ks_out):