@@ -160,6 +160,11 @@ def test_update_catalog_entry_example(self):
160160 print ('\n update_catalog_entry() result:' )
161161 # begin-update_catalog_entry
162162
163+ catalog_entry = global_catalog_service .get_catalog_entry (
164+ id = catalog_entry_id ,
165+ complete = True ,
166+ ).get_result ()
167+
163168 overview_model_EN = {
164169 'display_name' : 'Example Web Starter V2' ,
165170 'description' : 'Use the Example V2 service in your applications' ,
@@ -195,6 +200,7 @@ def test_update_catalog_entry_example(self):
195200 provider = provider_model ,
196201 active = True ,
197202 metadata = metadata_model ,
203+ url = catalog_entry ['url' ],
198204 ).get_result ()
199205
200206 print (json .dumps (catalog_entry , indent = 2 ))
@@ -265,7 +271,7 @@ def test_restore_catalog_entry_example(self):
265271
266272 response = global_catalog_service .restore_catalog_entry (
267273 id = catalog_entry_id ,
268- ). get_result ()
274+ )
269275
270276 # end-restore_catalog_entry
271277
@@ -309,7 +315,7 @@ def test_update_visibility_example(self):
309315 response = global_catalog_service .update_visibility (
310316 id = catalog_entry_id ,
311317 extendable = False ,
312- ). get_result ()
318+ )
313319
314320 # end-update_visibility
315321
@@ -381,7 +387,7 @@ def test_upload_artifact_example(self):
381387 artifact_id = 'artifact.txt' ,
382388 artifact = artifact_contents ,
383389 content_type = 'text/plain' ,
384- ). get_result ()
390+ )
385391
386392 # end-upload_artifact
387393
@@ -448,7 +454,7 @@ def test_delete_artifact_example(self):
448454 response = global_catalog_service .delete_artifact (
449455 object_id = catalog_entry_id ,
450456 artifact_id = 'artifact.txt' ,
451- ). get_result ()
457+ )
452458
453459 # end-delete_artifact
454460
@@ -467,7 +473,7 @@ def test_delete_catalog_entry_example(self):
467473 try :
468474 # begin-delete_catalog_entry
469475
470- response = global_catalog_service .delete_catalog_entry (id = catalog_entry_id ). get_result ()
476+ response = global_catalog_service .delete_catalog_entry (id = catalog_entry_id )
471477
472478 # end-delete_catalog_entry
473479
0 commit comments