about summary refs log tree commit diff
path: root/test/test_all_urls.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-03-17 14:30:13 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-03-17 14:30:13 +0100
commitff14fc496401b3318339e108f3db2825622c44c3 (patch)
tree15e8ab1364183696ee2ca93ac4467b3e0c12de34 /test/test_all_urls.py
parente125c215318d6bac1e96b0177ccd62660b16884c (diff)
downloadyoutube-dl-ff14fc496401b3318339e108f3db2825622c44c3.tar.gz
youtube-dl-ff14fc496401b3318339e108f3db2825622c44c3.tar.xz
youtube-dl-ff14fc496401b3318339e108f3db2825622c44c3.zip
[test] Rename get_testcases to gettestcases
Apparently, newer versions of nosetests are somewhat over-eager in their test discovery.
Diffstat (limited to 'test/test_all_urls.py')
-rw-r--r--test/test_all_urls.py4
1 files changed, 2 insertions, 2 deletions
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'):