Revision: 2491
Author: janne.t.harkonen
Date: Fri Feb 19 02:20:00 2010
Log: Changed error message
http://code.google.com/p/robotframework/source/detail?r=2491

Modified:
 /trunk/src/robot/output/readers.py
 /trunk/utest/output/test_readers.py

=======================================
--- /trunk/src/robot/output/readers.py  Thu Feb 18 20:52:25 2010
+++ /trunk/src/robot/output/readers.py  Fri Feb 19 02:20:00 2010
@@ -74,7 +74,7 @@

 class _MissingStatus:
"""If XML was fixed for example by fixml.py, status tag may be missing"""
-    text = 'Broken output file'
+    text = 'Could not find status.'
get_attr = lambda self, name, default: name == 'status' and 'FAIL' or 'N/A'


=======================================
--- /trunk/utest/output/test_readers.py Thu Feb 18 04:04:31 2010
+++ /trunk/utest/output/test_readers.py Fri Feb 19 02:20:00 2010
@@ -17,7 +17,7 @@
         assert_equals(reader.status, 'FAIL')
         assert_equals(reader.starttime, 'N/A')
         assert_equals(reader.endtime, 'N/A')
-        assert_equals(reader.message, 'Broken output file')
+        assert_equals(reader.message, 'Could not find status.')


 if __name__ == '__main__':

Reply via email to