Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3f37616

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

File tree

Expand file treeCollapse file tree

1 file changed

+0
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-3
lines changed

‎vision/cloud-client/web/web_detect_test.py

Copy file name to clipboardExpand all lines: vision/cloud-client/web/web_detect_test.py
-3Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.