From 22376467db48b23dabef38b55f5316dd5cd9b89b Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 28 Mar 2011 15:02:55 +0200 Subject: Add test for TagCollapsingDecorator.testsRun. --- python/subunit/tests/test_test_results.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'python/subunit') diff --git a/python/subunit/tests/test_test_results.py b/python/subunit/tests/test_test_results.py index 94d2274..23b8b5e 100644 --- a/python/subunit/tests/test_test_results.py +++ b/python/subunit/tests/test_test_results.py @@ -229,6 +229,11 @@ class TestTagCollapsingDecorator(TestCase): ('stopTest', test)], result._events) + def test_tags_collapsed_tests_run(self): + result = ExtendedTestResult() + tag_collapser = subunit.test_results.TagCollapsingDecorator(result) + tag_collapser.testsRun += 1 + class TestTimeCollapsingDecorator(TestCase): -- cgit v1.2.1