File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- @wip
21Feature : Create an CycloneDX sbom
32
43 *Dfetch* can generate a software Bill-of-Materials (SBOM).
54
6- An SBOM lists the components and their supply chain relationships. Downstream
5+ This SBOM lists the components and their supply chain relationships. Downstream
76 users of the software can assess the licenses used and potential risk of dependencies.
87
98 The generated SBOM can be used as input for other tools to monitor dependencies.
Original file line number Diff line number Diff line change 88
99import pytest
1010
11- import dfetch .manifest .manifest
1211from dfetch import DEFAULT_MANIFEST_NAME
1312from dfetch .manifest .manifest import (
1413 Manifest ,
@@ -73,7 +72,7 @@ def test_no_projects() -> None:
7372 """Test that manifest without projects cannot be read."""
7473
7574 with pytest .raises (KeyError ):
76- manifest = given_manifest_from_text (MANIFEST_NO_PROJECTS )
75+ given_manifest_from_text (MANIFEST_NO_PROJECTS )
7776
7877
7978def test_no_remotes () -> None :
Original file line number Diff line number Diff line change 44# flake8: noqa
55
66import argparse
7- from unittest .mock import mock_open , patch
7+ from unittest .mock import patch
88
99import pytest
1010
You can’t perform that action at this time.
0 commit comments