DebugClients/Python/DCTestResult.py

changeset 3021
801289962f4e
parent 2987
c99695c0f13a
child 3160
209a07d7e401
diff -r 542e97d4ecb3 -r 801289962f4e DebugClients/Python/DCTestResult.py
--- a/DebugClients/Python/DCTestResult.py	Mon Oct 14 19:30:36 2013 +0200
+++ b/DebugClients/Python/DCTestResult.py	Mon Oct 14 20:08:19 2013 +0200
@@ -40,8 +40,10 @@
         """
         TestResult.addFailure(self, test, err)
         tracebackLines = self._exc_info_to_string(err, test)
-        self.parent.write('%s%s\n' % (ResponseUTTestFailed,
-            unicode((unicode(test), tracebackLines, test.id()))))
+        self.parent.write(
+            '%s%s\n' % (
+                ResponseUTTestFailed,
+                unicode((unicode(test), tracebackLines, test.id()))))
         
     def addError(self, test, err):
         """
@@ -52,8 +54,10 @@
         """
         TestResult.addError(self, test, err)
         tracebackLines = self._exc_info_to_string(err, test)
-        self.parent.write('%s%s\n' % (ResponseUTTestErrored,
-            unicode((unicode(test), tracebackLines, test.id()))))
+        self.parent.write(
+            '%s%s\n' % (
+                ResponseUTTestErrored,
+                unicode((unicode(test), tracebackLines, test.id()))))
         
     def addSkip(self, test, reason):
         """
@@ -63,8 +67,10 @@
         @param reason reason for skipping the test (string)
         """
         TestResult.addSkip(self, test, reason)
-        self.parent.write('%s%s\n' % (ResponseUTTestSkipped,
-            str((str(test), reason, test.id()))))
+        self.parent.write(
+            '%s%s\n' % (
+                ResponseUTTestSkipped,
+                str((str(test), reason, test.id()))))
         
     def addExpectedFailure(self, test, err):
         """
@@ -75,8 +81,10 @@
         """
         TestResult.addExpectedFailure(self, test, err)
         tracebackLines = self._exc_info_to_string(err, test)
-        self.parent.write('%s%s\n' % (ResponseUTTestFailedExpected,
-            str((str(test), tracebackLines, test.id()))))
+        self.parent.write(
+            '%s%s\n' % (
+                ResponseUTTestFailedExpected,
+                str((str(test), tracebackLines, test.id()))))
         
     def addUnexpectedSuccess(self, test):
         """
@@ -85,8 +93,10 @@
         @param test reference to the test object
         """
         TestResult.addUnexpectedSuccess(self, test)
-        self.parent.write('%s%s\n' % (ResponseUTTestSucceededUnexpected,
-            str((str(test), test.id()))))
+        self.parent.write(
+            '%s%s\n' % (
+                ResponseUTTestSucceededUnexpected,
+                str((str(test), test.id()))))
         
     def startTest(self, test):
         """
@@ -95,8 +105,10 @@
         @param test Reference to the test object
         """
         TestResult.startTest(self, test)
-        self.parent.write('%s%s\n' % (ResponseUTStartTest,
-            unicode((unicode(test), test.shortDescription()))))
+        self.parent.write(
+            '%s%s\n' % (
+                ResponseUTStartTest,
+                unicode((unicode(test), test.shortDescription()))))
 
     def stopTest(self, test):
         """

eric ide

mercurial