mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-30 15:14:14 +01:00
Add unit test for oppetarkiv.se
This commit is contained in:
parent
d174925bab
commit
b931d58319
@ -21,6 +21,10 @@ class handleTest(unittest.TestCase):
|
|||||||
self.assertTrue(self.svtplay.handle(
|
self.assertTrue(self.svtplay.handle(
|
||||||
"http://www.svt.se/nyheter/sverige/det-ar-en-dodsfalla"))
|
"http://www.svt.se/nyheter/sverige/det-ar-en-dodsfalla"))
|
||||||
|
|
||||||
|
def handle_oppetarkiv_se_test(self):
|
||||||
|
self.assertTrue(self.svtplay.handle(
|
||||||
|
"http://www.oppetarkiv.se/video/1129844/jacobs-stege-avsnitt-1-av-1"))
|
||||||
|
|
||||||
def handle_dn_se_test(self):
|
def handle_dn_se_test(self):
|
||||||
self.assertFalse(self.svtplay.handle(
|
self.assertFalse(self.svtplay.handle(
|
||||||
"http://www.dn.se/nyheter/sverige/det-ar-en-dodsfalla"))
|
"http://www.dn.se/nyheter/sverige/det-ar-en-dodsfalla"))
|
||||||
|
Loading…
Reference in New Issue
Block a user