From 001d31a8428f5ae30de4d87135eb5d465875c558 Mon Sep 17 00:00:00 2001 From: Jonathan Lange Date: Fri, 20 Apr 2012 12:36:48 +0100 Subject: Make the integration test include local tags as well. --- python/subunit/tests/test_subunit_filter.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'python/subunit') 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) -- cgit v1.2.1