Skip to content

Commit

Permalink
Remove id test from test_platform_from_text_complex_expression
Browse files Browse the repository at this point in the history
The id is not stable and should not be used for testing
  • Loading branch information
Mab879 committed Jun 27, 2024
1 parent b29c9e4 commit d55fde6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/unit/ssg-module/test_build_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d55fde6

Please sign in to comment.