Skip to content

Commit

Permalink
vision: fix flaky test [(#2988)](GoogleCloudPlatform/python-docs-samp…
Browse files Browse the repository at this point in the history
  • Loading branch information
nnegrey authored Feb 25, 2020
1 parent 64c017c commit 9a4d13f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/snippets/detect/detect_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ def test_faces(capsys):
'resources/face_no_surprise.jpg')
detect.detect_faces(file_name)
out, _ = capsys.readouterr()
assert 'POSSIBLE' in out
assert 'face bound' in out


def test_faces_uri(capsys):
file_name = 'gs://{}/vision/face/face_no_surprise.jpg'.format(ASSET_BUCKET)
detect.detect_faces_uri(file_name)
out, _ = capsys.readouterr()
assert 'POSSIBLE' in out
assert 'face bound' in out


def test_logos(capsys):
Expand Down

0 comments on commit 9a4d13f

Please sign in to comment.