The test helper make_sbom_ctx uses internal, private implementation detail settings._package_settings. It creates SbomSettings on the fly, too. Instead SBOM tests should use a similar approach as tmp_context. The fixture loads settings from tests/testdata/context tree.
How about you introduce a sbom_context fixture and add config files to tests/testdata/sbom-context ?
The test helper
make_sbom_ctxuses internal, private implementation detailsettings._package_settings. It createsSbomSettingson the fly, too. Instead SBOM tests should use a similar approach astmp_context. The fixture loads settings fromtests/testdata/contexttree.How about you introduce a
sbom_contextfixture and add config files totests/testdata/sbom-context?