Skip to content

Commit

Permalink
vision: fix flaky test (#2988)
Browse files Browse the repository at this point in the history
  • Loading branch information
nnegrey committed Feb 25, 2020
1 parent aa7859f commit fc80b56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vision/cloud-client/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 fc80b56

Please sign in to comment.