1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-30 22:22:58 +08:00

[comedycentral] Add a testcase for extended-interviews URLs (#2636)

This commit is contained in:
Philipp Hagemeister 2014-03-27 02:02:48 +01:00
parent e55213ce35
commit 69c01a9f68

View File

@ -143,5 +143,8 @@ class TestAllURLsMatching(unittest.TestCase):
self.assertMatch('http://video.pbs.org/viralplayer/2365173446/', ['PBS']) self.assertMatch('http://video.pbs.org/viralplayer/2365173446/', ['PBS'])
self.assertMatch('http://video.pbs.org/widget/partnerplayer/980042464/', ['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__': if __name__ == '__main__':
unittest.main() unittest.main()