From a212722f3f93a8d8bc3620d0ac5276e1491cee29 Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Mon, 15 Dec 2008 05:37:08 +1100 Subject: Review feedback on the skip/xfail/success comment branch. --- python/subunit/tests/test_test_protocol.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'python/subunit/tests/test_test_protocol.py') diff --git a/python/subunit/tests/test_test_protocol.py b/python/subunit/tests/test_test_protocol.py index a84e03e..1f9e3a9 100644 --- a/python/subunit/tests/test_test_protocol.py +++ b/python/subunit/tests/test_test_protocol.py @@ -1,5 +1,5 @@ # -# subunit: extensions to python unittest to get test results from subprocesses. +# subunit: extensions to Python unittest to get test results from subprocesses. # Copyright (C) 2005 Robert Collins # # This program is free software; you can redistribute it and/or modify @@ -533,7 +533,8 @@ class TestTestProtocolServerAddFailure(unittest.TestCase): class TestTestProtocolServerAddxFail(unittest.TestCase): """Tests for the xfail keyword. - In python this thunks through to Success due to stdlib limitations. + In Python this thunks through to Success due to stdlib limitations (see + README). """ def setUp(self): @@ -568,7 +569,7 @@ class TestTestProtocolServerAddxFail(unittest.TestCase): def xfail_quoted_bracket(self, keyword): # This tests it is accepted, but cannot test it is used today, because - # of not having a way to expose it in python so far. + # of not having a way to expose it in Python so far. self.protocol.lineReceived("%s mcdonalds farm [\n" % keyword) self.protocol.lineReceived(" ]\n") self.protocol.lineReceived("]\n") @@ -588,7 +589,8 @@ class TestTestProtocolServerAddxFail(unittest.TestCase): class TestTestProtocolServerAddSkip(unittest.TestCase): """Tests for the skip keyword. - In python this thunks through to Success due to stdlib limitations. + In Python this thunks through to Success due to stdlib limitations. (See + README). """ def setUp(self): @@ -623,7 +625,7 @@ class TestTestProtocolServerAddSkip(unittest.TestCase): def skip_quoted_bracket(self, keyword): # This tests it is accepted, but cannot test it is used today, because - # of not having a way to expose it in python so far. + # of not having a way to expose it in Python so far. self.protocol.lineReceived("%s mcdonalds farm [\n" % keyword) self.protocol.lineReceived(" ]\n") self.protocol.lineReceived("]\n") @@ -678,7 +680,7 @@ class TestTestProtocolServerAddSuccess(unittest.TestCase): def success_quoted_bracket(self, keyword): # This tests it is accepted, but cannot test it is used today, because - # of not having a way to expose it in python so far. + # of not having a way to expose it in Python so far. self.protocol.lineReceived("%s mcdonalds farm [\n" % keyword) self.protocol.lineReceived(" ]\n") self.protocol.lineReceived("]\n") -- cgit v1.2.1