Revision: 2437
Author: janne.t.harkonen
Date: Tue Feb 16 04:27:56 2010
Log: whitespace
http://code.google.com/p/robotframework/source/detail?r=2437

Modified:
 /trunk/atest/testresources/listeners/ListenAll.py

=======================================
--- /trunk/atest/testresources/listeners/ListenAll.py Wed Apr 15 05:21:11 2009 +++ /trunk/atest/testresources/listeners/ListenAll.py Tue Feb 16 04:27:56 2010
@@ -5,58 +5,58 @@
 class ListenAll:

     ROBOT_LISTENER_API_VERSION = '2'
-
+
     def __init__(self, *path):
         if not path:
             path = os.path.join(tempfile.gettempdir(), 'listen_all.txt')
         else:
             path = ':'.join(path)
         self.outfile = open(path, 'w')
-
+
     def start_suite(self, name, attrs):
         self.outfile.write("SUITE START: %s '%s'\n" % (name, attrs['doc']))
-
+
     def start_test(self, name, attrs):
         tags = [ str(tag) for tag in attrs['tags'] ]
self.outfile.write("TEST START: %s '%s' %s\n" % (name, attrs['doc'], tags))
-
+
     def start_keyword(self, name, attrs):
         args = [ str(arg) for arg in attrs['args'] ]
         self.outfile.write("KW START: %s %s\n" % (name, args))
-
+
     def end_keyword(self, name, attrs):
-        self.outfile.write("KW END: %s\n" % (attrs['status']))
-
+        self.outfile.write("KW END: %s\n" % (attrs['status']))
+
     def end_test(self, name, attrs):
         if attrs['status'] == 'PASS':
             self.outfile.write('TEST END: PASS\n')
         else:
-            self.outfile.write("TEST END: %s %s\n"
+            self.outfile.write("TEST END: %s %s\n"
                                % (attrs['status'], attrs['message']))
-
+
     def end_suite(self, name, attrs):
         self.outfile.write('SUITE END: %s %s\n'
                             % (attrs['status'], attrs['statistics']))

     def output_file(self, path):
         self._out_file('Output', path)
-
+
     def summary_file(self, path):
         self._out_file('Summary', path)
-
+
     def report_file(self, path):
         self._out_file('Report', path)
-
+
     def log_file(self, path):
         self._out_file('Log', path)
-
+
     def debug_file(self, path):
         self._out_file('Debug', path)
-
+
     def _out_file(self, name, path):
         assert os.path.isabs(path)
         self.outfile.write('%s: %s\n' % (name, os.path.basename(path)))
-
+
     def close(self):
         self.outfile.write('Closing...\n')
         self.outfile.close()

Reply via email to