diff --git a/tests/foreman/api/test_contentview.py b/tests/foreman/api/test_contentview.py index 29cdf190197..a84bb19909a 100644 --- a/tests/foreman/api/test_contentview.py +++ b/tests/foreman/api/test_contentview.py @@ -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. @@ -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()