Skip to content

Commit

Permalink
vision geo test fix (#2353)
Browse files Browse the repository at this point in the history
Gus already LGTM
  • Loading branch information
sirtorry authored and andrewferlitsch committed Aug 26, 2019
1 parent 6996c8e commit b88baf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vision/cloud-client/detect/detect_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,15 +225,15 @@ def test_detect_web_with_geo(capsys):
detect.web_entities_include_geo_results(file_name)
out, _ = capsys.readouterr()
out = out.lower()
assert 'zepra' in out or 'electra tower' in out
assert 'zepra' in out or 'electra tower' in out or 'tel aviv' in out


def test_detect_web_with_geo_uri(capsys):
file_name = 'gs://{}/vision/web/city.jpg'.format(ASSET_BUCKET)
detect.web_entities_include_geo_results_uri(file_name)
out, _ = capsys.readouterr()
out = out.lower()
assert 'zepra' in out or 'electra tower' in out
assert 'zepra' in out or 'electra tower' in out or 'tel aviv' in out


def test_detect_document(capsys):
Expand Down

0 comments on commit b88baf9

Please sign in to comment.