8000 vision: fix flaky tests to be more generic in the results [(#2915)](h… · busunkim96/python-vision@56974a1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 56974a1

Browse files
authored
vision: fix flaky tests to be more generic in the results [(#2915)](GoogleCloudPlatform/python-docs-samples#2915)
1 parent 9a4d13f commit 56974a1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

samples/snippets/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)
0