We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d406726 commit aca52e8Copy full SHA for aca52e8
tests/mock_vws/test_query.py
@@ -689,6 +689,7 @@ def add_targets(
689
"""
690
image_content = high_quality_image.getvalue()
691
image_data_encoded = base64.b64encode(image_content).decode('ascii')
692
+ target_ids = set([])
693
for name in ('example_1', 'example_2'):
694
add_target_data = {
695
'name': name,
@@ -701,8 +702,9 @@ def add_targets(
701
702
data=add_target_data,
703
)
704
- target_id = response.json()['target_id']
705
+ target_ids.add(response.json()['target_id'])
706
707
+ for target_id in target_ids:
708
wait_for_target_processed(
709
target_id=target_id,
710
vuforia_database_keys=vuforia_database_keys,
0 commit comments