]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[comedycentral] Add a testcase for extended-interviews URLs (#2636)
authorPhilipp Hagemeister <phihag@phihag.de>
Thu, 27 Mar 2014 01:02:48 +0000 (02:02 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Thu, 27 Mar 2014 01:02:48 +0000 (02:02 +0100)
test/test_all_urls.py

index 39ac8b8a1188746348dd1c15058ec71ccc75b769..5b6d18a8296da5d9584cf585ef0cd495eef6a2b2 100644 (file)
@@ -143,5 +143,8 @@ class TestAllURLsMatching(unittest.TestCase):
         self.assertMatch('http://video.pbs.org/viralplayer/2365173446/', ['PBS'])
         self.assertMatch('http://video.pbs.org/widget/partnerplayer/980042464/', ['PBS'])
 
+    def test_ComedyCentralShows(self):
+        self.assertMatch('http://thedailyshow.cc.com/extended-interviews/xm3fnq/andrew-napolitano-extended-interview', ['ComedyCentralShows'])
+
 if __name__ == '__main__':
     unittest.main()