We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25c66ad commit 3b62a93Copy full SHA for 3b62a93
tests/test_vws.py
@@ -522,9 +522,10 @@ def test_update_target(
522
[
523
matching_target,
524
] = cloud_reco_client.query(image=different_high_quality_image)
525
- assert matching_target['target_id'] == target_id
526
- query_target_data = matching_target['target_data']
527
- query_metadata = query_target_data['application_metadata']
+ assert matching_target.target_id == target_id
+ query_target_data = matching_target.target_data
+ assert query_target_data is not None
528
+ query_metadata = query_target_data.application_metadata
529
assert query_metadata == new_application_metadata
530
531
vws_client.update_target(
0 commit comments