aboutsummaryrefslogtreecommitdiff
path: root/test/test_all_urls.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-02-08 19:20:11 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-02-08 19:20:23 +0100
commit9766538124384b75c6b6cdfd8cb03ddce30136dc (patch)
treed56ae6dec3de43a0b14cd7a6a6ea14005aa430ad /test/test_all_urls.py
parent98dbee86815cad4d1fe1befab328033a16c56df6 (diff)
[jadorecettepub] Add extractor (Fixes #2148)
Diffstat (limited to 'test/test_all_urls.py')
-rw-r--r--test/test_all_urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_all_urls.py b/test/test_all_urls.py
index 50f392088..aa8e4e4bd 100644
--- a/test/test_all_urls.py
+++ b/test/test_all_urls.py
@@ -85,7 +85,7 @@ class TestAllURLsMatching(unittest.TestCase):
self.assertTrue(JustinTVIE.suitable(u"http://www.twitch.tv/tsm_theoddone/c/2349361"))
def test_youtube_extract(self):
- assertExtractId = lambda url, id: self.assertEqual(YoutubeIE()._extract_id(url), id)
+ assertExtractId = lambda url, id: self.assertEqual(YoutubeIE.extract_id(url), id)
assertExtractId('http://www.youtube.com/watch?&v=BaW_jenozKc', 'BaW_jenozKc')
assertExtractId('https://www.youtube.com/watch?&v=BaW_jenozKc', 'BaW_jenozKc')
assertExtractId('https://www.youtube.com/watch?feature=player_embedded&v=BaW_jenozKc', 'BaW_jenozKc')