2 new revisions:
Revision: 909f0f9f4e87
Branch: default
Author: Robot Framework Developers ([email protected])
Date: Thu May 30 02:26:45 2013
Log: fixed listener methods that required information both from model
and r...
http://code.google.com/p/robotframework/source/detail?r=909f0f9f4e87
Revision: c4488e09bed1
Branch: default
Author: Robot Framework Developers ([email protected])
Date: Thu May 30 02:27:45 2013
Log: fixed listener tests that expected to receive a certain message
http://code.google.com/p/robotframework/source/detail?r=c4488e09bed1
==============================================================================
Revision: 909f0f9f4e87
Branch: default
Author: Robot Framework Developers ([email protected])
Date: Thu May 30 02:26:45 2013
Log: fixed listener methods that required information both from model
and result
http://code.google.com/p/robotframework/source/detail?r=909f0f9f4e87
Modified:
/src/robot/new_running/runner.py
=======================================
--- /src/robot/new_running/runner.py Wed May 29 14:11:14 2013
+++ /src/robot/new_running/runner.py Thu May 30 02:26:45 2013
@@ -75,7 +75,7 @@
self._suite_status = SuiteStatus(self._suite_status,
self._settings.exit_on_failure,
self._settings.skip_teardown_on_exit)
- self._output.start_suite(self._suite)
+ self._output.start_suite(ModelCombiner(suite, self._suite))
self._context.set_suite_variables(result)
self._run_setup(suite.keywords.setup, self._suite_status)
self._executed_tests = utils.NormalizedDict(ignore='_')
@@ -176,3 +176,15 @@
kw.run(self._context)
except ExecutionFailed, err:
return err
+
+
+class ModelCombiner(object):
+
+ def __init__(self, *models):
+ self.models = models
+
+ def __getattr__(self, name):
+ for model in self.models:
+ if hasattr(model, name):
+ return getattr(model, name)
+ raise AttributeError(name)
==============================================================================
Revision: c4488e09bed1
Branch: default
Author: Robot Framework Developers ([email protected])
Date: Thu May 30 02:27:45 2013
Log: fixed listener tests that expected to receive a certain message
http://code.google.com/p/robotframework/source/detail?r=c4488e09bed1
Modified:
/src/robot/run.py
=======================================
--- /src/robot/run.py Wed May 29 13:42:55 2013
+++ /src/robot/run.py Thu May 30 02:27:45 2013
@@ -390,7 +390,7 @@
markers=settings['MonitorMarkers'],
stdout=settings['StdOut'],
stderr=settings['StdErr'])
- LOGGER.info(unicode(settings))
+ LOGGER.info('Settings:\n%s' % unicode(settings))
suite = TestSuiteBuilder(settings['SuiteNames'],
settings['WarnOnSkipped']).build(*datasources)
suite.configure(**settings.suite_config)
--
---
You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.