File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
vision/cloud-client/detect Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -165,17 +165,15 @@ def test_detect_web_with_geo(capsys):
165165 detect .web_entities_include_geo_results (file_name )
166166 out , _ = capsys .readouterr ()
167167 out = out .lower ()
168- assert ('zepra' in out or 'electra tower' in out or 'tel aviv' in out or
169- 'jaffa' in out )
168+ assert 'description' in out
170169
171170
172171def test_detect_web_with_geo_uri (capsys ):
173172 file_name = 'gs://{}/vision/web/city.jpg' .format (ASSET_BUCKET )
174173 detect .web_entities_include_geo_results_uri (file_name )
175174 out , _ = capsys .readouterr ()
176175 out = out .lower ()
177- assert ('zepra' in out or 'electra tower' in out or 'tel aviv' in out or
178- 'jaffa' in out )
176+ assert 'description' in out
179177
180178
181179def test_detect_document (capsys ):
You can’t perform that action at this time.
0 commit comments