Skip to content

Commit 3b62a93

Browse files
committed
Fix a lint issue
1 parent 25c66ad commit 3b62a93

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/test_vws.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -522,9 +522,10 @@ def test_update_target(
522522
[
523523
matching_target,
524524
] = 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']
525+
assert matching_target.target_id == target_id
526+
query_target_data = matching_target.target_data
527+
assert query_target_data is not None
528+
query_metadata = query_target_data.application_metadata
528529
assert query_metadata == new_application_metadata
529530

530531
vws_client.update_target(

0 commit comments

Comments
 (0)