Skip to content

Commit 9d951f0

Browse files
authored
fix: cyclonedx vex test fix (#4622)
Signed-off-by: joydeep049 <[email protected]>
1 parent 114ac56 commit 9d951f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_vex.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class TestVexGeneration(unittest.TestCase):
8787
),
8888
}
8989

90-
@pytest.mark.skip(reason="Needs an update to match what lib4vex produces.")
90+
# @pytest.mark.skip(reason="Needs an update to match what lib4vex produces.")
9191
def test_output_cyclonedx(self):
9292
"""Test VEX output generation"""
9393

@@ -108,6 +108,7 @@ def test_output_cyclonedx(self):
108108
for vulnerability in json_data.get("vulnerabilities", []):
109109
vulnerability.pop("published", None)
110110
vulnerability.pop("updated", None)
111+
vulnerability.pop("properties", None)
111112

112113
with open(str(VEX_PATH / "test_cyclonedx_vex.json")) as f:
113114
expected_json = json.load(f)

0 commit comments

Comments
 (0)