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_openshift: skip sources with empty auth_token or password #489

Closed ruda closed 4 months ago

ruda commented 6 months ago

Whenever we find a openshift source that has empty password (or token) we will skip the test for the source.

The following credential will cause the test to be skipped.

credentials:
  - name: 'shrocp4upi411ovn'
    type: 'openshift'
    username: 'kubeadmin'
    password: ''

Output:

camayoc/tests/qpc/cli/test_openshift.py::test_openshift_clusters[shrocp4upi411ovn] 
SKIPPED (Empty auth_token or password for credential 'shrocp4upi411ovn' in config file.)  

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

codecov[bot] commented 6 months ago

Codecov Report

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

Project coverage is 77.24%. Comparing base (0a04eb7) to head (7967802).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #489 +/- ## ======================================= Coverage 77.24% 77.24% ======================================= Files 7 7 Lines 624 624 ======================================= Hits 482 482 Misses 142 142 ```

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