fix test for new kind of urls
This commit is contained in:
parent
1be12a9dbe
commit
3fb58ede8b
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ class CanalPlusTest(BackendTest):
|
|||
self.assertTrue(len(l) > 0)
|
||||
v = l[0]
|
||||
self.backend.fillobj(v, ('url',))
|
||||
self.assertTrue(v.url and v.url.startswith('rtmp://'), 'URL for video "%s" not found: %s' % (v.id, v.url))
|
||||
self.assertTrue(v.url and (v.url.startswith('rtmp://') or v.url.startswith('http://')), 'URL for video "%s" not found: %s' % (v.id, v.url))
|
||||
|
||||
def test_ls(self):
|
||||
l = list(self.backend.iter_resources((BaseVideo, ), []))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue