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 scenarios to test version-locking feature of FM #69

Closed jameerpathan111 closed 5 years ago

jameerpathan111 commented 5 years ago

upstream PR: https://github.com/theforeman/foreman_maintain/pull/249 upstream issue: https://projects.theforeman.org/issues/26216

Scenarios to test in Testfm:

jameerpathan111 commented 5 years ago

PR #70 need to be changed to find the expected number of packages to be locked, (Only If it's feasible and won't complicate the test) otherwise remove the assertion which checks number of packages which got locked with total number of packages which a satellite/foreman repo provides.

jameerpathan111 commented 5 years ago

PR #70 need to be changed to find the expected number of packages to be locked, (Only If it's feasible and won't complicate the test) otherwise remove the assertion which checks number of packages which got locked with total number of packages which a satellite/foreman repo provides.

@ntkathole what do you think? is it worth doing?

ntkathole commented 5 years ago

@jameerpathan111 simple approach can be get of packages such as satellite-installer/satellite/foreman/katello in satellite and check those are locked.

jameerpathan111 commented 5 years ago

PR #70 need to be changed to find the expected number of packages to be locked, (Only If it's feasible and won't complicate the test) otherwise remove the assertion which checks number of packages which got locked with total number of packages which a satellite/foreman repo provides.

Solution:

jameerpathan111 commented 5 years ago

Refs #100 and #96