Skip to content

Commit

Permalink
Fix streamservice test (#1187)
Browse files Browse the repository at this point in the history
  • Loading branch information
mediaminister authored Sep 17, 2024
1 parent 8672edb commit 93e0a1f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_streamservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ def test_get_ondemand_stream_from_from_videoid_geoblocked(self):
'publication_id': 'pbs-pub-8a1068a5-cffc-4b25-96cc-2b15b3c513dc',
}
stream = self._streamservice.get_stream(video)
self.assertTrue(stream is not None)
# NOTE: Testing geoblocked streams only works within Europe
if os.environ.get('GITHUB_ACTIONS') != 'true':
self.assertTrue(stream is not None)

@unittest.skipUnless(addon.settings.get('username'), 'Skipping as VRT username is missing.')
@unittest.skipUnless(addon.settings.get('password'), 'Skipping as VRT password is missing.')
Expand Down

0 comments on commit 93e0a1f

Please sign in to comment.