diff options
| author | Jonathan Lange <jml@mumak.net> | 2012-04-20 12:36:48 +0100 |
|---|---|---|
| committer | Jonathan Lange <jml@mumak.net> | 2012-04-20 12:36:48 +0100 |
| commit | 9cb6cecd1665dbbaf7508e182565d6bd9b10e812 (patch) | |
| tree | 6b3fe1631665ccb826eb982502e3be3eae9bc2ff /python/subunit | |
| parent | 89f529754fbb52f5015e487261529f2b40ab2df1 (diff) | |
| download | subunit-git-9cb6cecd1665dbbaf7508e182565d6bd9b10e812.tar.gz | |
Make the integration test include local tags as well.
Diffstat (limited to 'python/subunit')
| -rw-r--r-- | python/subunit/tests/test_subunit_filter.py | 8 |
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) |
