quipucords / camayoc

Test automation framework that facilitates functional testing of quipucords.
https://camayoc.readthedocs.io/
GNU General Public License v3.0
5 stars 4 forks source link

test_OS_found_deployment_report: check version, name and release more accurately #549

Open ruda opened 2 days ago

ruda commented 2 days ago

Dependencies:

Before this change, the code of test_OS_found_deployment_report expected to match the attributes name, release and version by looking as if it fits as a substring of the target result.

After this change, the test expected to match the attributes name and release by looking at the beginning of the string and matching. We require to have an exact match for the version attribute (expected vs found).

Relates to JIRA: DISCOVERY-783 https://issues.redhat.com/browse/DISCOVERY-783

codecov[bot] commented 2 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 76.85%. Comparing base (81b55aa) to head (4bca5f8).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #549 +/- ## ======================================= Coverage 76.85% 76.85% ======================================= Files 7 7 Lines 700 700 ======================================= Hits 538 538 Misses 162 162 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.