Skip to content

Commit

Permalink
Fix tests (#877)
Browse files Browse the repository at this point in the history
  • Loading branch information
mediaminister authored Apr 21, 2021
1 parent a7013bb commit 9d4c264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_streamservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def test_get_ondemand_stream_from_invalid_videoid(self):
@unittest.skipUnless(addon.settings.get('password'), 'Skipping as VRT password is missing.')
def test_get_ondemand_stream_from_url_gets_stream_does_not_crash(self):
"""Test getting stream from URL does not crash"""
video = dict(video_url=yesterday.strftime('https://www.vrt.be/vrtnu/a-z/het-journaal/%Y/het-journaal-het-journaal-laat-%Y%m%d/'),
video = dict(video_url=yesterday.strftime('https://www.vrt.be/vrtnu/a-z/het-journaal/%Y/het-journaal-het-journaal-19u-%Y%m%d/'),
video_id=None,
publication_id=None)
stream = self._streamservice.get_stream(video)
Expand Down

0 comments on commit 9d4c264

Please sign in to comment.