Skip to content

Commit

Permalink
Fix skip keyword #2336 (#2418)
Browse files Browse the repository at this point in the history
* Fix SKIP keyword when Running test
  • Loading branch information
HelioGuilherme66 committed Oct 18, 2021
1 parent 77268a8 commit 19485cd
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/robotide/robotapi.py
Expand Up @@ -19,7 +19,8 @@
from .lib.robot.errors import DataError, VariableError, Information
from .lib.robot.model import TagPatterns
from .lib.robot.output import LOGGER as ROBOT_LOGGER
from .lib.robot.output.loggerhelper import LEVELS as LOG_LEVELS
# SEE BELOW
# from .lib.robot.output.loggerhelper import LEVELS as LOG_LEVELS
from .lib.robot.parsing.datarow import DataRow
from .lib.robot.parsing.model import (
TestCase, TestDataDirectory, ResourceFile, TestCaseFile, UserKeyword,
Expand All @@ -43,3 +44,15 @@


ROBOT_VERSION = get_version()

# Monkey patch LEVELS
LOG_LEVELS = {
'NONE' : 7,
'SKIP' : 6,
'FAIL' : 5,
'ERROR' : 4,
'WARN' : 3,
'INFO' : 2,
'DEBUG' : 1,
'TRACE' : 0,
}

0 comments on commit 19485cd

Please sign in to comment.