Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 782 by chrispri...@gmail.com: "Invalid log level" error when mixing comment and log keywords in template case
http://code.google.com/p/robotframework/issues/detail?id=782

Test cases fail with "Invalid log level" when mixing Comment and Log keywords in a template test case. In a non-template case, or using just the Log keyword and not Comment, there is no problem.

In the tests below, "test2" will fail, the other two pass. Run with robotframework 2.5.6 on Python 2.6.1

========= ================= ==============
Test Case
========= ================= ==============
test1     [documentation]   Working
\         Comment           this is a note
\         [Template]        Comment
\         a message
\         second message?
test2     [documentation]   Broken
\         Comment           this is a note
\         [Template]        Log
\         a message
\         second message?
test3     [documentation]   Working
\         Comment           this is a note
\         Log               a message
\         Log               second message
========= ================= ==============


Results from running the tests............

==============================================================================
One
==============================================================================
test1 :: Working | PASS |
------------------------------------------------------------------------------
test2 :: Broken | FAIL |
Invalid log level 'THIS IS A NOTE'
------------------------------------------------------------------------------
test3 :: Working | PASS |
------------------------------------------------------------------------------
One | FAIL |
3 critical tests, 2 passed, 1 failed
3 tests total, 2 passed, 1 failed
==============================================================================

Reply via email to