projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[test] Rename get_testcases to gettestcases
[youtube-dl]
/
test
/
test_all_urls.py
diff --git
a/test/test_all_urls.py
b/test/test_all_urls.py
index 047e84f192d977a436c28f8caf599981e4b25b26..3ce0b910a16d8bac978f00388b3c0210961b63dc 100644
(file)
--- 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__))))
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,
from youtube_dl.extractor import (
FacebookIE,
@@
-105,7
+105,7
@@
class TestAllURLsMatching(unittest.TestCase):
def test_no_duplicates(self):
ies = gen_extractors()
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'):
url = tc['url']
for ie in ies:
if type(ie).__name__ in ('GenericIE', tc['name'] + 'IE'):