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 23b9a78 commit bb84a36Copy full SHA for bb84a36
vision/api/label/snippets_test.py
@@ -45,14 +45,4 @@ def test_web_annotations(capsys, resource):
45
web_annotation = result['responses'][0]['webAnnotation']
46
web_entities = web_annotation['webEntities']
47
48
- assert len(web_entities) == 10
49
- russian_blue = False
50
-
51
- for entity in web_entities:
52
- entity_id = entity['entityId']
53
- desc = entity['description']
54
55
- if entity_id == '/m/012cc2' and desc == 'Russian Blue':
56
- russian_blue = True
57
58
- assert russian_blue is True
+ assert len(web_entities)
0 commit comments