From 45f6e795b462b67951c47e37c2a8a16dda03ab68 Mon Sep 17 00:00:00 2001 From: Matthew Burket Date: Thu, 27 Jun 2024 16:23:33 -0500 Subject: [PATCH] The id of test_platform_from_text_complex_expression is not stable Is is not stable and worth testing --- tests/unit/ssg-module/test_build_yaml.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/unit/ssg-module/test_build_yaml.py b/tests/unit/ssg-module/test_build_yaml.py index 92bafc581f32..de987366fb9e 100644 --- a/tests/unit/ssg-module/test_build_yaml.py +++ b/tests/unit/ssg-module/test_build_yaml.py @@ -339,7 +339,6 @@ def test_platform_from_text_complex_expression(product_cpes): assert platform.get_remediation_conditional("ansible") == "( \"systemd\" in ansible_facts.packages and ( \"chrony\" in ansible_facts.packages or \"ntp\" in ansible_facts.packages ) and not ( \"yum\" in ansible_facts.packages ) )" platform_el = platform.to_xml_element() assert platform_el.tag == "{%s}platform" % cpe_language_namespace - assert platform_el.get("id") == "systemd_and_chrony_or_ntp_and_not_yum" logical_tests = platform_el.findall( "{%s}logical-test" % cpe_language_namespace) assert len(logical_tests) == 1