summaryrefslogtreecommitdiff
path: root/python/subunit/tests/test_test_protocol.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/subunit/tests/test_test_protocol.py')
-rw-r--r--python/subunit/tests/test_test_protocol.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/python/subunit/tests/test_test_protocol.py b/python/subunit/tests/test_test_protocol.py
index eb77e68..a2b054b 100644
--- a/python/subunit/tests/test_test_protocol.py
+++ b/python/subunit/tests/test_test_protocol.py
@@ -138,10 +138,10 @@ class TestTestProtocolServerPipe(unittest.TestCase):
bing = subunit.RemotedTestCase("bing crosby")
an_error = subunit.RemotedTestCase("an error")
self.assertEqual(client.errors,
- [(an_error, 'RemoteError:\n\n\n')])
- self.assertEqual(client.failures,
- [(bing,
- "RemoteError:\nfoo.c:53:ERROR invalid state\n\n")])
+ [(an_error, 'RemoteException: \n\n')])
+ self.assertEqual(
+ client.failures,
+ [(bing, "RemoteException: foo.c:53:ERROR invalid state\n\n")])
self.assertEqual(client.testsRun, 3)
@@ -531,7 +531,7 @@ class TestRemotedTestCase(unittest.TestCase):
"'A test description'>", "%r" % test)
result = unittest.TestResult()
test.run(result)
- self.assertEqual([(test, "RemoteError:\n"
+ self.assertEqual([(test, "RemoteException: "
"Cannot run RemotedTestCases.\n\n")],
result.errors)
self.assertEqual(1, result.testsRun)
@@ -702,7 +702,7 @@ class TestTestProtocolClient(unittest.TestCase):
self.protocol.addFailure(self.test, subunit.RemoteError("boo"))
self.assertEqual(self.io.getvalue(), "failure: Test startTest on a "
"TestProtocolClient. [\n"
- "RemoteError:\n"
+ "RemoteException:\n"
"boo\n"
"]\n")
@@ -711,7 +711,7 @@ class TestTestProtocolClient(unittest.TestCase):
self.protocol.addError(self.test, subunit.RemoteError("phwoar"))
self.assertEqual(self.io.getvalue(), "error: Test startTest on a "
"TestProtocolClient. [\n"
- "RemoteError:\n"
+ "RemoteException:\n"
"phwoar\n"
"]\n")