diff options
| author | Jelmer Vernooij <jelmer@samba.org> | 2011-03-28 15:02:55 +0200 |
|---|---|---|
| committer | Jelmer Vernooij <jelmer@samba.org> | 2011-03-28 15:02:55 +0200 |
| commit | 22376467db48b23dabef38b55f5316dd5cd9b89b (patch) | |
| tree | 62c3421f4940480607f91fe9950b0775f6c328fc /python/subunit | |
| parent | 70300dd635e015009c66fd296a7efd78f3109d4d (diff) | |
| download | subunit-22376467db48b23dabef38b55f5316dd5cd9b89b.tar.gz | |
Add test for TagCollapsingDecorator.testsRun.
Diffstat (limited to 'python/subunit')
| -rw-r--r-- | python/subunit/tests/test_test_results.py | 5 |
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): |
