Revision: 0b0590f7a844
Branch:   default
Author:   Mika Hänninen <mika.hanni...@gmail.com>
Date:     Tue Jun 11 01:46:24 2013
Log:      process lib: test fix
http://code.google.com/p/robotframework/source/detail?r=0b0590f7a844

Modified:
 /atest/testdata/standard_libraries/process/is_process_alive.txt
 /src/robot/libraries/Process.py

=======================================
--- /atest/testdata/standard_libraries/process/is_process_alive.txt Mon Jun 10 13:32:28 2013 +++ /atest/testdata/standard_libraries/process/is_process_alive.txt Tue Jun 11 01:46:24 2013
@@ -5,7 +5,7 @@

 *** Test Cases ***
 No Process Should Fail
- Run Keyword And Expect Error No started processes. Is Process Running
+    Run Keyword And Expect Error    No active process.   Is Process Running

 Test Process Should Be Alive
     ${handle}=    Some process
=======================================
--- /src/robot/libraries/Process.py     Tue Jun 11 01:34:12 2013
+++ /src/robot/libraries/Process.py     Tue Jun 11 01:46:24 2013
@@ -511,16 +511,7 @@
             return f.read()

     def __str__(self):
-        return """\
-stdout_path : %s
-stdout : %s
-stderr_path : %s
-stderr : %s
-rc : %d""" % (self.stdout_path if self.stdout_path else "PIPE",
-                type(self.stdout),
-                self.stderr_path if self.stderr_path else "PIPE",
-                type(self.stderr),
-                self.rc)
+        return '<result object with rc %d>' % self.rc


 class ProcessConfig(object):

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to