From d55fde6aaef3aff249988479649e92efbee32a2a Mon Sep 17 00:00:00 2001 From: Matthew Burket Date: Thu, 27 Jun 2024 16:32:37 -0500 Subject: [PATCH] Remove id test from test_platform_from_text_complex_expression The id is not stable and should not be used for 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 41634f0abfc0..ed0d7b69a1f4 100644 --- a/tests/unit/ssg-module/test_build_yaml.py +++ b/tests/unit/ssg-module/test_build_yaml.py @@ -338,7 +338,6 @@ def test_platform_from_text_complex_expression(product_cpes): assert platform.test(**{'systemd': True, 'ntp': False, 'chrony': True, 'yum': False}) 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