Skip to content

test: fix test_output_cyclonedx #4622

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion test/test_vex.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class TestVexGeneration(unittest.TestCase):
),
}

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

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

with open(str(VEX_PATH / "test_cyclonedx_vex.json")) as f:
expected_json = json.load(f)
Expand Down
Loading