Revision: 364b5a9e3a5f
Branch: default
Author: jussi.ao.malinen
Date: Wed May 29 05:38:42 2013
Log: new run: fixed missing criticality from empty testcase names and
testcases without keywrods
http://code.google.com/p/robotframework/source/detail?r=364b5a9e3a5f
Modified:
/src/robot/new_running/runner.py
/src/robot/new_running/status.py
=======================================
--- /src/robot/new_running/runner.py Wed May 29 05:05:22 2013
+++ /src/robot/new_running/runner.py Wed May 29 05:38:42 2013
@@ -112,9 +112,9 @@
self._context.start_test(result)
status = TestStatus(self._suite_status)
if not test.name:
- status.test_failed('Test case name cannot be empty.')
+ status.test_failed('Test case name cannot be empty.',
test.critical)
if not keywords:
- status.test_failed('Test case contains no keywords.')
+ status.test_failed('Test case contains no keywords.',
test.critical)
self._run_setup(test.keywords.setup, status)
try:
if not status.failures:
=======================================
--- /src/robot/new_running/status.py Wed May 29 05:05:22 2013
+++ /src/robot/new_running/status.py Wed May 29 05:38:42 2013
@@ -94,7 +94,7 @@
def __init__(self, suite_status):
_ExecutionStatus.__init__(self, suite_status)
- def test_failed(self, failure, critical=True):
+ def test_failed(self, failure, critical):
self.test_failure = unicode(failure)
if critical:
self.parent.critical_failure()
--
---
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.