Page MenuHomeSoftware Heritage

lookup_content_license and lookup_content_language fail since swh.indexer.storage v0.3
Closed, MigratedEdits Locked

Description

It looks like I missed this in D4190; that code doesn't seem to be covered (or the idx-storage is possibly mocked in tests and they need to be updated; I didn't check)

SWH-WEBAPP-1CV

SWH-WEBAPP-1CY

Event Timeline

vlorentz triaged this task as Unbreak Now! priority.Oct 24 2020, 1:14 PM
vlorentz created this task.

Actually, there is a test for it but it requires fossology tools installed in order for the indexer to run and produce license data. Maybe we should produce dummy license data when the fossology tools are missing to ensure code is always covered ?