Skip to content

Commit

Permalink
more relaxing google video tests
Browse files Browse the repository at this point in the history
  • Loading branch information
qmac committed Apr 19, 2018
1 parent 25230d6 commit 3ddf2a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pliers/tests/extractors/api/test_google_extractors.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ def test_google_video_api_extractor2(caplog):
" video and the results may be empty or incomplete." % 500))
if not incomplete:
assert result.shape == (2, 5)
assert result['onset'][0] == 0.1
assert result['onset'][1] == 0.3
assert result['onset'][0] > 0.1 and result['onset'][0] < 0.3
assert result['onset'][1] > 0.3 and result['onset'][1] < 0.45
assert 'UNLIKELY' in result['pornographyLikelihood'][0]


Expand Down

0 comments on commit 3ddf2a0

Please sign in to comment.