summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-03-28 15:02:55 +0200
committerJelmer Vernooij <jelmer@samba.org>2011-03-28 15:02:55 +0200
commit931ee641258b77bd440d76a0d5c1f3305010f7c4 (patch)
tree62c3421f4940480607f91fe9950b0775f6c328fc /python
parent32b4cbe9c436a63ca330b30bbe41566d6335e637 (diff)
downloadsubunit-git-931ee641258b77bd440d76a0d5c1f3305010f7c4.tar.gz
Add test for TagCollapsingDecorator.testsRun.
Diffstat (limited to 'python')
-rw-r--r--python/subunit/tests/test_test_results.py5
1 files changed, 5 insertions, 0 deletions
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):