From 387b0312f8a0303fa585641301311fe4b1d851de 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 --- .../pyanaconda_tests/modules/runtime/test_module_runtime.py | 6 +++++- 1 file changed, 5 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..84cf02bc8309 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,11 @@ def test_kickstart_properties(self): "cmdline", "vnc"] assert self.interface.KickstartCommands == commands - assert self.interface.KickstartSections == [] + sections = ['pre-install', + 'post', + 'onerror', + 'traceback'] + assert self.interface.KickstartSections == sections assert self.interface.KickstartAddons == [] def _test_kickstart(self, ks_in, ks_out):