Closed mirekdlugosz closed 5 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 76.79%. Comparing base (
9b052ba
) to head (8d45e0a
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
495 was incomplete - there was one more container-based test in upstream quipucords, one that verified that Insights report can be downloaded: https://github.com/quipucords/quipucords/pull/2625/files#diff-62b520bb21a93daf2ad93085612171507ac6119d939005e405da8150f975188eL532
This PR functionally ports it to Camayoc. Instead of using API, it uses CLI to obtain the report. It also runs some basic checks of the downloaded file, to verify that output looks like a valid Insights report.
Full Insights report flow is implemented in internal iqe-foreman-rh-cloud-plugin. That test uploads archive through Yuptoo, verifies that hosts appeared in HBI, syncs subscriptions and verifies that data there is correct. However, test executing this flow is not tied to our usual pipelines and is not triggered automatically as we make changes to Quipucords.