0
0
Fork 0

[test helper] Correct only_matching test gathering

main
Philipp Hagemeister 2014-04-21 07:56:51 +02:00
parent 4086f11929
commit b9ba5dfa28
1 changed files with 1 additions and 1 deletions

View File

@ -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