summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-05-09 19:47:24 +0200
committerJelmer Vernooij <jelmer@samba.org>2011-05-09 19:47:24 +0200
commitafef3670b65bb7622bab8aff0710be098b7d10a3 (patch)
tree70a9570d9a9558cdb2a70c68a0963df480879fd4 /python
parente66b1a8f1ebaa21e00b1a2561b401b929d7a0ff9 (diff)
downloadsubunit-afef3670b65bb7622bab8aff0710be098b7d10a3.tar.gz
Fix argument in TestResultFilter.addSkip.
Diffstat (limited to 'python')
-rw-r--r--python/subunit/test_results.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/subunit/test_results.py b/python/subunit/test_results.py
index e3240e0..f312416 100644
--- a/python/subunit/test_results.py
+++ b/python/subunit/test_results.py
@@ -363,7 +363,7 @@ class TestResultFilter(TestResultDecorator):
def addSkip(self, test, reason=None, details=None):
if (self.filter_predicate(test, 'skip', reason, details)):
self._buffered_calls.append(
- ('addSkip', [reason], {'details': details}))
+ ('addSkip', [test, reason], {'details': details}))
else:
self._filtered()