Skip to content

Commit 3f37616

Browse files
authored
vision: fix flaky tests to be more generic in the results (#2915)
1 parent ff9682e commit 3f37616

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

vision/cloud-client/web/web_detect_test.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ def test_detect_file(capsys):
2121
file_name = ('../detect/resources/landmark.jpg')
2222
web_detect.report(web_detect.annotate(file_name))
2323
out, _ = capsys.readouterr()
24-
print(out)
2524
assert 'description' in out.lower()
26-
assert 'palace' in out.lower()
2725

2826

2927
def test_detect_web_gsuri(capsys):
@@ -32,7 +30,6 @@ def test_detect_web_gsuri(capsys):
3230
web_detect.report(web_detect.annotate(file_name))
3331
out, _ = capsys.readouterr()
3432
assert 'description:' in out.lower()
35-
assert 'palace' in out.lower()
3633

3734

3835
def test_detect_web_http(capsys):

0 commit comments

Comments
 (0)