diff options
Diffstat (limited to 'lib/subunit/python/subunit/tests/test_test_protocol.py')
-rw-r--r-- | lib/subunit/python/subunit/tests/test_test_protocol.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/subunit/python/subunit/tests/test_test_protocol.py b/lib/subunit/python/subunit/tests/test_test_protocol.py index 9e9db18163..f10380b09b 100644 --- a/lib/subunit/python/subunit/tests/test_test_protocol.py +++ b/lib/subunit/python/subunit/tests/test_test_protocol.py @@ -124,6 +124,10 @@ class TestTestProtocolServerStartTest(unittest.TestCase): self.assertEqual(self.client._events, [('startTest', subunit.RemotedTestCase("old mcdonald"))]) + def test_indented_test_colon_ignored(self): + self.protocol.lineReceived(" test: old mcdonald\n") + self.assertEqual([], self.client._events) + def test_start_testing_colon(self): self.protocol.lineReceived("testing: old mcdonald\n") self.assertEqual(self.client._events, |