projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4086f11
)
[test helper] Correct only_matching test gathering
author
Philipp Hagemeister
<phihag@phihag.de>
Mon, 21 Apr 2014 05:56:51 +0000
(07:56 +0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Mon, 21 Apr 2014 05:56:51 +0000
(07:56 +0200)
test/helper.py
patch
|
blob
|
history
diff --git
a/test/helper.py
b/test/helper.py
index 09873aea33c3815dcd56e8acf992156dbbb5974e..da714078dafe22021ac084e4bd46b8d5c0fdbfc2 100644
(file)
--- a/
test/helper.py
+++ b/
test/helper.py
@@
-85,7
+85,7
@@
def gettestcases(include_onlymatching=False):
else:
tests = getattr(ie, '_TESTS', [])
for t in tests:
- if not include_onlymatching and
getattr(t,
'only_matching', False):
+ if not include_onlymatching and
t.get(
'only_matching', False):
continue
t['name'] = type(ie).__name__[:-len('IE')]
yield t