Skip to content

Commit

Permalink
Adjust assert statement, and fix docstring issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sambible committed Apr 30, 2024
1 parent 9581ae0 commit dfb2673
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/foreman/api/test_contentview.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def test_ccv_promote_registry_name_change(self, module_target_sat, module_sca_ma
1) Sync a RH Repo
2) Create a CV, add the repo and publish it
3) Create a CCV and add the CV to it, then publish it
3) Create a CCV and add the CV version to it, then publish it
4) Create LCEs with the specific value for registry_name
5) Promote the CCV to both LCEs
Expand Down Expand Up @@ -394,8 +394,8 @@ def test_ccv_promote_registry_name_change(self, module_target_sat, module_sca_ma
registry_name_pattern='<%= lifecycle_environment.label %>/<%= repository.name %>',
).create()
version = composite_cv.version[0].read()
assert version.promote(data={'environment_ids': lce1.id})
assert version.promote(data={'environment_ids': lce2.id})
assert 'success' in version.promote(data={'environment_ids': lce1.id})['result']
assert 'success' in version.promote(data={'environment_ids': lce2.id})['result']


class TestContentViewCreate:
Expand Down

0 comments on commit dfb2673

Please sign in to comment.