File tree Expand file tree Collapse file tree 2 files changed +45
-0
lines changed
tools/openchain_telco_sbom_validator/testing Expand file tree Collapse file tree 2 files changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ SPDXVersion: SPDX-2.3
2+ DataLicense: CC0-1.0
3+ SPDXID: SPDXRef-DOCUMENT
4+ DocumentName: pyzbar-0.1.9
5+ DocumentNamespace: https://nokia.com/spdx/pyzbar-0.1.9
6+
7+ ## Creation Information
8+
9+ LicenseListVersion: 3.27
10+ Creator: Organization: Nokia
11+ Creator: Tool: pypispdx - 0.1.0
12+ Created: 2025-11-04T17:48:51Z
13+ CreatorComment: <text>
14+ CISA SBOM type: Analyzed
15+ This SBOM was created with Python version 3.14.0
16+ </text>
17+
18+ ##### Package: pyzbar
19+
20+ PackageName: pyzbar
21+ SPDXID: SPDXRef-pyzbar
22+ PackageVersion: 0.1.9
23+ PackageSupplier: Organization: https://pypi.org
24+ PackageDownloadLocation: NOASSERTION
25+ FilesAnalyzed: false
26+ PackageLicenseConcluded: MIT
27+ PackageLicenseDeclared: MIT
28+ PackageCopyrightText: NOASSERTION
29+ ExternalRef: PACKAGE-MANAGER purl pkg:pypi/pyzbar@0.1.9
30+
31+ ##### Relationships
32+
33+ Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-pyzbar
Original file line number Diff line number Diff line change @@ -377,5 +377,17 @@ function test_ok_noassert
377377 assert_output_contains " NOASSERTION"
378378}
379379
380+ function test_ok_sbom_type_newline
381+ {
382+ echo " Test: test_ok_sbom_type_newline"
383+ run " openchain-telco-sbom-validator test-sbom-11.spdx"
384+ echo " $output "
385+ assert_terminated_normally
386+ assert_exit_success
387+ assert_has_output
388+ assert_output_contains " The SPDX file test-sbom-11.spdx is compliant with the OpenChain Telco SBOM Guide version 1.1"
389+ }
390+
391+
380392testrunner
381393deactivate
You can’t perform that action at this time.
0 commit comments