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

Add check for duplicate permissions(BZ#1849110) #285

Closed shubhamsg199 closed 2 years ago

shubhamsg199 commented 2 years ago

Test Results: RHEL7:

$ pytest -v --ansible-host-pattern server --ansible-user=root --ansible-inventory testfm/inventory -k test_positive_check_duplicate_permissions tests/test_health.py
========================================== 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 30 items / 29 deselected                                                                                                                                                                                                                                                       

tests/test_health.py::test_positive_check_duplicate_permissions PASSED                                                                                                                                                                                                             [100%]
========================================= 1 passed, 29 deselected in 35.62 seconds ==============================================================

RHEL8:

$ pytest -v --ansible-host-pattern server --ansible-user=root --ansible-inventory testfm/inventory -k test_positive_check_duplicate_permissions tests/test_health.py
================================ 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 30 items / 29 deselected                                                                                                                                                                                                                                                       

tests/test_health.py::test_positive_check_duplicate_permissions PASSED                                                                                                                                                                                                             [100%]

======================================== 1 passed, 29 deselected in 28.98 seconds ===========================================================
jyejare commented 2 years ago

@Gauravtalreja1 Are we still willing to invest in testFM or the plan is to completely move to robottelo?