From ff14fc496401b3318339e108f3db2825622c44c3 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Mon, 17 Mar 2014 14:30:13 +0100 Subject: [test] Rename get_testcases to gettestcases Apparently, newer versions of nosetests are somewhat over-eager in their test discovery. --- test/test_all_urls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_all_urls.py') diff --git a/test/test_all_urls.py b/test/test_all_urls.py index 047e84f19..3ce0b910a 100644 --- a/test/test_all_urls.py +++ b/test/test_all_urls.py @@ -9,7 +9,7 @@ import unittest sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) -from test.helper import get_testcases +from test.helper import gettestcases from youtube_dl.extractor import ( FacebookIE, @@ -105,7 +105,7 @@ class TestAllURLsMatching(unittest.TestCase): def test_no_duplicates(self): ies = gen_extractors() - for tc in get_testcases(): + for tc in gettestcases(): url = tc['url'] for ie in ies: if type(ie).__name__ in ('GenericIE', tc['name'] + 'IE'): -- cgit 1.4.1