Skip to content

Commit

Permalink
Fix formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sambible committed Apr 8, 2024
1 parent 5f6450a commit d877d0c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/foreman/api/test_contentview.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,7 @@ def test_positive_add_sha512_rpm(self, content_view, module_org, module_target_s
)

@pytest.mark.tier2
def test_ccv_promote_registry_name_change(
self, module_target_sat, module_sca_manifest_org
):
def test_ccv_promote_registry_name_change(self, module_target_sat, module_sca_manifest_org):
"""Testing CCV promotion scenarios where the registry_name has been changed to some
specific value.
Expand Down Expand Up @@ -314,9 +312,7 @@ def test_ccv_promote_registry_name_change(
)
repo = module_target_sat.api.Repository(id=rh_repo_id).read()
repo.sync(timeout=600)
cv = module_target_sat.api.ContentView(
organization=module_sca_manifest_org
).create()
cv = module_target_sat.api.ContentView(organization=module_sca_manifest_org).create()
cv = module_target_sat.api.ContentView(id=cv.id, repository=[repo]).update(["repository"])
cv.publish()
cv = cv.read()
Expand Down

0 comments on commit d877d0c

Please sign in to comment.