def test_twitch_chapterid_matching(self): self.assertTrue(TwitchIE.suitable('http://www.twitch.tv/tsm_theoddone/c/2349361'))
def test_twitch_videoid_matching(self): self.assertTrue(TwitchIE.suitable('http://www.twitch.tv/vanillatv/b/328087483'))
def test_twitch_channelid_matching(self): self.assertTrue(TwitchIE.suitable('twitch.tv/vanillatv')) self.assertTrue(TwitchIE.suitable('www.twitch.tv/vanillatv')) self.assertTrue(TwitchIE.suitable('http://www.twitch.tv/vanillatv')) self.assertTrue(TwitchIE.suitable('http://www.twitch.tv/vanillatv/'))
def test_twitch_chapterid_matching(self): self.assertTrue( TwitchIE.suitable('http://www.twitch.tv/tsm_theoddone/c/2349361'))
def test_twitch_videoid_matching(self): self.assertTrue( TwitchIE.suitable('http://www.twitch.tv/vanillatv/b/328087483'))