Skip to content

Commit 9a4d13f

Browse files
authored
vision: fix flaky test [(#2988)](GoogleCloudPlatform/python-docs-samples#2988)
1 parent 64c017c commit 9a4d13f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/snippets/detect/detect_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ def test_faces(capsys):
6565
'resources/face_no_surprise.jpg')
6666
detect.detect_faces(file_name)
6767
out, _ = capsys.readouterr()
68-
assert 'POSSIBLE' in out
68+
assert 'face bound' in out
6969

7070

7171
def test_faces_uri(capsys):
7272
file_name = 'gs://{}/vision/face/face_no_surprise.jpg'.format(ASSET_BUCKET)
7373
detect.detect_faces_uri(file_name)
7474
out, _ = capsys.readouterr()
75-
assert 'POSSIBLE' in out
75+
assert 'face bound' in out
7676

7777

7878
def test_logos(capsys):

0 commit comments

Comments
 (0)