commit b9ba5dfa28baa4541016b49eadf74d731dc8936c
parent 4086f119292ab1d5deab38ece163322e1011eba0
Author: Philipp Hagemeister <phihag@phihag.de>
Date: Mon, 21 Apr 2014 07:56:51 +0200
[test helper] Correct only_matching test gathering
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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