From 2f2186b5418bd591589287242911ef9af27fce16 Mon Sep 17 00:00:00 2001 From: Antti Ajanki Date: Sat, 26 Mar 2011 19:21:20 +0200 Subject: Remove SVT Play module --- src/unittest/testwebvi.py | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src') diff --git a/src/unittest/testwebvi.py b/src/unittest/testwebvi.py index 2aaf394..814a1c4 100644 --- a/src/unittest/testwebvi.py +++ b/src/unittest/testwebvi.py @@ -173,25 +173,6 @@ class TestServiceModules(unittest.TestCase): self.assertNotEqual(resultref, None) self.downloadAndExtractLinks(resultref, 1, 'search result') - def testSVTPlay(self): - # Category page - ref = self.getServiceReference('../../templates/svtplay.se') - links = self.downloadAndExtractLinks(ref, 3, 'category') - - # Navigation page - navigationref = links[0].ref - links = self.downloadAndExtractLinks(navigationref, 2, 'navigation') - - # Single program - programref = links[0].ref - links = self.downloadAndExtractLinks(programref, 1, 'program') - - # Video link - videolink = links[0] - self.assertNotEqual(videolink.stream, None, 'No media object in a video link') - self.assertNotEqual(videolink.ref, None, 'No description page in a video link') - self.checkMediaUrl(videolink.stream) - def testMetacafe(self): # Category page ref = self.getServiceReference('../../templates/www.metacafe.com') -- cgit v1.2.3