diff options
author | Robert Collins <robertc@robertcollins.net> | 2009-08-30 20:31:12 +1000 |
---|---|---|
committer | Robert Collins <robertc@robertcollins.net> | 2009-08-30 20:31:12 +1000 |
commit | 95a5816c1bb8808141416005c5a203bc4d7f8599 (patch) | |
tree | 0f6eae28e2e6e33ade8516164798fc82575036d1 /python/subunit/tests/test_subunit_stats.py | |
parent | 613ab39dede4d24df8bc6fcdfbbb233421898904 (diff) | |
download | subunit-git-95a5816c1bb8808141416005c5a203bc4d7f8599.tar.gz |
Change python API for tags to just consistently call result.tags(new_tags, gone_tags).
Diffstat (limited to 'python/subunit/tests/test_subunit_stats.py')
-rw-r--r-- | python/subunit/tests/test_subunit_stats.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/subunit/tests/test_subunit_stats.py b/python/subunit/tests/test_subunit_stats.py index e2f30fc..a8540bb 100644 --- a/python/subunit/tests/test_subunit_stats.py +++ b/python/subunit/tests/test_subunit_stats.py @@ -39,7 +39,7 @@ class TestTestResultStats(unittest.TestCase): self.assertEqual(0, self.result.total_tests) self.assertEqual(0, self.result.passed_tests) self.assertEqual(0, self.result.failed_tests) - self.assertEqual(set(), self.result.tags) + self.assertEqual(set(), self.result.seen_tags) def setUpUsedStream(self): self.input_stream.write("""tags: global @@ -65,7 +65,7 @@ xfail todo self.assertEqual(2, self.result.passed_tests) self.assertEqual(2, self.result.failed_tests) self.assertEqual(1, self.result.skipped_tests) - self.assertEqual(set(["global", "local"]), self.result.tags) + self.assertEqual(set(["global", "local"]), self.result.seen_tags) def test_stat_formatting(self): expected = (""" @@ -73,7 +73,7 @@ Total tests: 5 Passed tests: 2 Failed tests: 2 Skipped tests: 1 -Tags: global, local +Seen tags: global, local """)[1:] self.setUpUsedStream() self.result.formatStats() |