Skip to content

Commit

Permalink
vision: fix flaky tests to be more generic in the results [(#2915)](G…
Browse files Browse the repository at this point in the history
  • Loading branch information
nnegrey authored Feb 26, 2020
1 parent 9a4d13f commit 56974a1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions samples/snippets/web/web_detect_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ def test_detect_file(capsys):
file_name = ('../detect/resources/landmark.jpg')
web_detect.report(web_detect.annotate(file_name))
out, _ = capsys.readouterr()
print(out)
assert 'description' in out.lower()
assert 'palace' in out.lower()


def test_detect_web_gsuri(capsys):
Expand All @@ -32,7 +30,6 @@ def test_detect_web_gsuri(capsys):
web_detect.report(web_detect.annotate(file_name))
out, _ = capsys.readouterr()
assert 'description:' in out.lower()
assert 'palace' in out.lower()


def test_detect_web_http(capsys):
Expand Down

0 comments on commit 56974a1

Please sign in to comment.