DebugClients/Python3/DCTestResult.py

changeset 3021
801289962f4e
parent 2987
c99695c0f13a
child 3160
209a07d7e401
diff -r 542e97d4ecb3 -r 801289962f4e DebugClients/Python3/DCTestResult.py
--- a/DebugClients/Python3/DCTestResult.py	Mon Oct 14 19:30:36 2013 +0200
+++ b/DebugClients/Python3/DCTestResult.py	Mon Oct 14 20:08:19 2013 +0200
@@ -40,7 +40,8 @@
         """
         TestResult.addFailure(self, test, err)
         tracebackLines = self._exc_info_to_string(err, test)
-        self.parent.write('{0}{1}\n'.format(ResponseUTTestFailed,
+        self.parent.write('{0}{1}\n'.format(
+            ResponseUTTestFailed,
             str((str(test), tracebackLines, test.id()))))
         
     def addError(self, test, err):
@@ -52,7 +53,8 @@
         """
         TestResult.addError(self, test, err)
         tracebackLines = self._exc_info_to_string(err, test)
-        self.parent.write('{0}{1}\n'.format(ResponseUTTestErrored,
+        self.parent.write('{0}{1}\n'.format(
+            ResponseUTTestErrored,
             str((str(test), tracebackLines, test.id()))))
         
     def addSkip(self, test, reason):
@@ -63,7 +65,8 @@
         @param reason reason for skipping the test (string)
         """
         TestResult.addSkip(self, test, reason)
-        self.parent.write('{0}{1}\n'.format(ResponseUTTestSkipped,
+        self.parent.write('{0}{1}\n'.format(
+            ResponseUTTestSkipped,
             str((str(test), reason, test.id()))))
         
     def addExpectedFailure(self, test, err):
@@ -75,7 +78,8 @@
         """
         TestResult.addExpectedFailure(self, test, err)
         tracebackLines = self._exc_info_to_string(err, test)
-        self.parent.write('{0}{1}\n'.format(ResponseUTTestFailedExpected,
+        self.parent.write('{0}{1}\n'.format(
+            ResponseUTTestFailedExpected,
             str((str(test), tracebackLines, test.id()))))
         
     def addUnexpectedSuccess(self, test):
@@ -85,7 +89,8 @@
         @param test reference to the test object
         """
         TestResult.addUnexpectedSuccess(self, test)
-        self.parent.write('{0}{1}\n'.format(ResponseUTTestSucceededUnexpected,
+        self.parent.write('{0}{1}\n'.format(
+            ResponseUTTestSucceededUnexpected,
             str((str(test), test.id()))))
         
     def startTest(self, test):
@@ -95,7 +100,8 @@
         @param test Reference to the test object
         """
         TestResult.startTest(self, test)
-        self.parent.write('{0}{1}\n'.format(ResponseUTStartTest,
+        self.parent.write('{0}{1}\n'.format(
+            ResponseUTStartTest,
             str((str(test), test.shortDescription()))))
 
     def stopTest(self, test):

eric ide

mercurial