File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -499,7 +499,7 @@ def update_target(
499499 image : Optional [io .BytesIO ] = None ,
500500 active_flag : Optional [bool ] = None ,
501501 application_metadata : Optional [bytes ] = None ,
502- ) -> str :
502+ ) -> None :
503503 """
504504 Add a target to a Vuforia Web Services database.
505505
@@ -562,5 +562,3 @@ def update_target(
562562 request_path = f'/targets/{ target_id } ' ,
563563 expected_result_code = 'Success' ,
564564 )
565-
566- return str (response .json ()['target_id' ])
Original file line number Diff line number Diff line change @@ -449,6 +449,7 @@ def test_update_target(
449449 width = 1 ,
450450 image = high_quality_image ,
451451 )
452+ client .wait_for_target_processed (target_id = target_id )
452453 client .update_target (target_id = target_id )
453454
454455 def test_target_status_not_success (
@@ -464,6 +465,7 @@ def test_target_status_not_success(
464465 width = 1 ,
465466 image = high_quality_image ,
466467 )
468+ client .wait_for_target_processed (target_id = target_id )
467469 client .update_target (target_id = target_id )
468470
469471 def test_no_fields_given (
@@ -479,4 +481,5 @@ def test_no_fields_given(
479481 width = 1 ,
480482 image = high_quality_image ,
481483 )
484+ client .wait_for_target_processed (target_id = target_id )
482485 client .update_target (target_id = target_id )
You can’t perform that action at this time.
0 commit comments