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 b88baf9

Browse filesBrowse files
sirtorryandrewferlitsch
authored andcommitted
vision geo test fix (GoogleCloudPlatform#2353)
Gus already LGTM
1 parent 6996c8e commit b88baf9
Copy full SHA for b88baf9

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎vision/cloud-client/detect/detect_test.py

Copy file name to clipboardExpand all lines: vision/cloud-client/detect/detect_test.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,15 +225,15 @@ def test_detect_web_with_geo(capsys):
225225
detect.web_entities_include_geo_results(file_name)
226226
out, _ = capsys.readouterr()
227227
out = out.lower()
228-
assert 'zepra' in out or 'electra tower' in out
228+
assert 'zepra' in out or 'electra tower' in out or 'tel aviv' in out
229229

230230

231231
def test_detect_web_with_geo_uri(capsys):
232232
file_name = 'gs://{}/vision/web/city.jpg'.format(ASSET_BUCKET)
233233
detect.web_entities_include_geo_results_uri(file_name)
234234
out, _ = capsys.readouterr()
235235
out = out.lower()
236-
assert 'zepra' in out or 'electra tower' in out
236+
assert 'zepra' in out or 'electra tower' in out or 'tel aviv' in out
237237

238238

239239
def test_detect_document(capsys):

0 commit comments

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