8000 vision geo test fix (#2353) · hanv89/python-docs-samples@b88baf9 · GitHub
[go: up one dir, main page]

Skip to content

Commit b88baf9

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vision/cloud-client/detect/detect_test.py

Lines 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 'ze 812D pra' 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