Revision: 155
Author: jprantan
Date: Fri Jul 9 05:53:27 2010
Log: Variables are not replaced anymore for performance reason. I don't
anyway know any good reason to use varibles here.
http://code.google.com/p/robotframework-mabot/source/detail?r=155
Modified:
/trunk/src/mabot/model/model.py
=======================================
--- /trunk/src/mabot/model/model.py Thu Jul 8 03:46:13 2010
+++ /trunk/src/mabot/model/model.py Fri Jul 9 05:53:27 2010
@@ -258,7 +258,6 @@
def __init__(self, suite, parent=None, from_xml=False):
if not from_xml:
KW_LIB.add_suite_keywords(suite)
- suite = self._init_data(suite)
AbstractManualModel.__init__(self, suite, parent)
self.longname = suite.longname
self.metadata = suite.metadata
@@ -297,14 +296,6 @@
return
robotapi.RunnableTestSuite._add_test_to_stats(self, test)
- def _init_data(self, suite):
- variables = robotapi.Namespace(suite, None)
- context = robotapi.ExecutionContext(variables, None)
- suite._set_variable_dependent_metadata(context)
- for test in suite.tests:
- test._init_test(context)
- return suite
-
def _get_items(self):
return self.suites + self.tests