summaryrefslogtreecommitdiff
path: root/python/subunit
diff options
context:
space:
mode:
Diffstat (limited to 'python/subunit')
-rw-r--r--python/subunit/tests/test_subunit_filter.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/python/subunit/tests/test_subunit_filter.py b/python/subunit/tests/test_subunit_filter.py
index 35d4603..7eca4cd 100644
--- a/python/subunit/tests/test_subunit_filter.py
+++ b/python/subunit/tests/test_subunit_filter.py
@@ -293,15 +293,23 @@ xfail todo
"tags: -a\n"
"test: bar\n"
"success: bar\n"
+ "test: baz\n"
+ "tags: a\n"
+ "success: baz\n"
))
events = self.to_events(output)
foo = subunit.RemotedTestCase('foo')
+ baz = subunit.RemotedTestCase('baz')
self.assertEqual(
[('tags', set(['a']), set()),
('startTest', foo),
('addSuccess', foo),
('stopTest', foo),
('tags', set(), set(['a'])),
+ ('startTest', baz),
+ ('tags', set(['a']), set()),
+ ('addSuccess', baz),
+ ('stopTest', baz),
],
events)