SatelliteQE / testfm

A test suite based on pytest-ansible that exercises The Foreman maintenance tool
GNU General Public License v3.0
4 stars 11 forks source link

[6.9.z]Fix hotfix tests #283

Closed shubhamsg199 closed 2 years ago

shubhamsg199 commented 2 years ago

Test Results:

$ pytest -v --ansible-host-pattern server --ansible-user=root  --ansible-inventory testfm/inventory tests/test_health.py -k test_positive_check_hotfix_installed
========================================= test session starts ===========================================================
platform linux -- Python 3.8.6, pytest-3.6.1, py-1.10.0, pluggy-0.6.0 -- /home/sganar/foreman/fm/bin/python
cachedir: .pytest_cache
ansible: 2.9.20
rootdir: /home/sganar/foreman/testfm, inifile:
plugins: ansible-2.2.3
collected 27 items / 25 deselected                                                                                                                                                                                                                                                       

tests/test_health.py::test_positive_check_hotfix_installed PASSED                                                                                                                                                                                                                  [ 50%]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
tests/test_health.py::test_positive_check_hotfix_installed_without_hotfix PASSED                                                                                                                                                                                                   [100%] 
==================================== 2 passed, 25 deselected in 329.23 seconds ============================================================