2 new revisions:

Revision: 529756d5fd70
Author:   Pekka Klärck
Date:     Fri May  6 12:32:04 2011
Log:      fixed unit tests by adding new teardown attribute to mock
http://code.google.com/p/robotframework/source/detail?r=529756d5fd70

Revision: 2ff0d3962c9b
Author:   Pekka Klärck
Date:     Fri May  6 12:42:13 2011
Log: Fixed errors with non-ASCII chars in test teardowns. This was accident...
http://code.google.com/p/robotframework/source/detail?r=2ff0d3962c9b

==============================================================================
Revision: 529756d5fd70
Author:   Pekka Klärck
Date:     Fri May  6 12:32:04 2011
Log:      fixed unit tests by adding new teardown attribute to mock
http://code.google.com/p/robotframework/source/detail?r=529756d5fd70

Modified:
 /utest/running/test_userhandlers.py

=======================================
--- /utest/running/test_userhandlers.py Mon May 24 09:14:53 2010
+++ /utest/running/test_userhandlers.py Fri May  6 12:32:04 2011
@@ -35,6 +35,7 @@
         self.doc = Fake()
         self.timeout = Fake()
         self.return_ = Fake()
+        self.teardown = None

 def EAT(*args):
     return EmbeddedArgsTemplate(HandlerDataMock(*args), 'resource')

==============================================================================
Revision: 2ff0d3962c9b
Author:   Pekka Klärck
Date:     Fri May  6 12:42:13 2011
Log: Fixed errors with non-ASCII chars in test teardowns. This was accidentally changed earlier. It's pretty annoying that half of the notify methods pass error to the listener and other half pass message....
http://code.google.com/p/robotframework/source/detail?r=2ff0d3962c9b

Modified:
 /src/robot/running/fixture.py

=======================================
--- /src/robot/running/fixture.py       Fri May  6 04:52:43 2011
+++ /src/robot/running/fixture.py       Fri May  6 12:42:13 2011
@@ -83,7 +83,7 @@

 class TestTeardownListener(_TestListener):
     def _notify_run_errors(self, error):
-        self._test.run_errors.teardown_err(error)
+        self._test.run_errors.teardown_err(unicode(error))


 class KeywordTeardownListener(object):

Reply via email to