Skip to content

Commit

Permalink
[6.13.z] Assert installer status when enabling OpenSCAP (#14758)
Browse files Browse the repository at this point in the history
  • Loading branch information
Satellite-QE authored Apr 12, 2024
1 parent 3cdef79 commit 9acdc07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/foreman/api/test_capsule.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ def test_positive_update_capsule(request, pytestconfig, target_sat, module_capsu

# refresh features
features = capsule.refresh()
module_capsule_configured.install(cmd_args=['enable-foreman-proxy-plugin-openscap'])
result = module_capsule_configured.install(cmd_args=['enable-foreman-proxy-plugin-openscap'])
assert result.status == 0, 'Installer failed when enabling OpenSCAP plugin.'
features_new = capsule.refresh()
assert len(features_new["features"]) == len(features["features"]) + 1
assert 'Openscap' in [feature["name"] for feature in features_new["features"]]
Expand Down

0 comments on commit 9acdc07

Please sign in to comment.