tests.test_sbom_base module

tests.test_sbom_base.test_writer_unavailable_reason_separates_absent_from_outdated()[source]

The two failure modes need opposite remedies, so they cannot share a message. A distribution shipping a writer library below the floor already satisfies [sbom-offline], so telling its user to install that extra strands them: they install it again, nothing changes, and the only clue left is a symbol name belonging to no package they can name. NixOS carries exactly such a cyclonedx-python-lib.