Revision: 3158
Author: janne.t.harkonen
Date: Tue May  4 09:11:17 2010
Log: Added public name for fixtures
http://code.google.com/p/robotframework/source/detail?r=3158

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

=======================================
--- /trunk/src/robot/running/fixture.py Tue May  4 07:58:35 2010
+++ /trunk/src/robot/running/fixture.py Tue May  4 09:11:17 2010
@@ -22,6 +22,7 @@

     def __init__(self, kwdata=None):
         self._keyword = self._fixture_keyword(kwdata)
+        self.name = self._keyword.name if self._keyword else ''

     def _fixture_keyword(self, kwdata):
         kwdata = utils.to_list(kwdata)

Reply via email to