Revision: c96b9b748521
Author: Mikko Korpela <[email protected]>
Date: Tue Dec 20 04:30:18 2011
Log: explicitly assert that result is not regenerated
http://code.google.com/p/robotframework/source/detail?r=c96b9b748521
Modified:
/utest/reporting/test_reporting.py
=======================================
--- /utest/reporting/test_reporting.py Mon Dec 19 04:55:53 2011
+++ /utest/reporting/test_reporting.py Tue Dec 20 04:30:18 2011
@@ -143,6 +143,12 @@
if result:
self.return_code = result.return_code
+ @property
+ def result(self):
+ if self._result is None:
+ raise AssertionError('Result should not be regenerated')
+ return self._result
+
class ClosableOutput(object):