Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bb84a36

Browse filesBrowse files
author
Jon Wayne Parrott
committed
Fix vision tests
Change-Id: I4a630ce5d82f060cad9b368ca727e853b2699592
1 parent 23b9a78 commit bb84a36
Copy full SHA for bb84a36

File tree

Expand file treeCollapse file tree

1 file changed

+1
-11
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-11
lines changed

‎vision/api/label/snippets_test.py

Copy file name to clipboardExpand all lines: vision/api/label/snippets_test.py
+1-11Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,4 @@ def test_web_annotations(capsys, resource):
4545
web_annotation = result['responses'][0]['webAnnotation']
4646
web_entities = web_annotation['webEntities']
4747

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
48+
assert len(web_entities)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.