File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
vision/cloud-client/detect Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -225,15 +225,15 @@ def test_detect_web_with_geo(capsys):
225
225
detect .web_entities_include_geo_results (file_name )
226
226
out , _ = capsys .readouterr ()
227
227
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
229
229
230
230
231
231
def test_detect_web_with_geo_uri (capsys ):
232
232
file_name = 'gs://{}/vision/web/city.jpg' .format (ASSET_BUCKET )
233
233
detect .web_entities_include_geo_results_uri (file_name )
234
234
out , _ = capsys .readouterr ()
235
235
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
237
237
238
238
239
239
def test_detect_document (capsys ):
You can’t perform that action at this time.
0 commit comments