[radiofrance] minor fixes
This commit is contained in:
parent
ed8186812b
commit
706a96a1f8
2 changed files with 9 additions and 2 deletions
|
|
@ -37,8 +37,8 @@ class RadioFranceTest(BackendTest):
|
|||
self.assertTrue(len(streams) > 0)
|
||||
|
||||
l_sel = list(self.backend.iter_resources(objs=[BaseAudio], split_path=[name, 'selection']))
|
||||
self.assertTrue(len(l_sel) > 0)
|
||||
self.assertTrue(len(l_sel[0].url) > 0)
|
||||
if len(l_sel) > 0:
|
||||
self.assertTrue(len(l_sel[0].url) > 0)
|
||||
|
||||
l = list(self.backend.iter_resources(objs=[Radio], split_path=['francebleu']))
|
||||
self.assertTrue(len(l) > 30)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue