projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[nytimes] Improve file size extraction
[youtube-dl]
/
test
/
test_all_urls.py
diff --git
a/test/test_all_urls.py
b/test/test_all_urls.py
index a9c4ed9e3d4f8a2386038ab5ab87d46b805dbb9e..4b56137cebb63287e4410959c091b09b6ffd785b 100644
(file)
--- a/
test/test_all_urls.py
+++ b/
test/test_all_urls.py
@@
-106,7
+106,7
@@
class TestAllURLsMatching(unittest.TestCase):
def test_no_duplicates(self):
ies = gen_extractors()
def test_no_duplicates(self):
ies = gen_extractors()
- for tc in gettestcases():
+ for tc in gettestcases(
include_onlymatching=True
):
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'):
@@
-176,5
+176,6
@@
class TestAllURLsMatching(unittest.TestCase):
'https://screen.yahoo.com/smartwatches-latest-wearable-gadgets-163745379-cbs.html',
['Yahoo'])
'https://screen.yahoo.com/smartwatches-latest-wearable-gadgets-163745379-cbs.html',
['Yahoo'])
+
if __name__ == '__main__':
unittest.main()
if __name__ == '__main__':
unittest.main()