Closed doguz2509 closed 2 years ago
Describe the bug Error raised when test skipped
Steps to Reproduce Run some test suite including 'skip' or 'skip if' keywords
Expected behavior No error expected
Actual behavior [ ERROR ] Calling method 'log_message' of listener 'robotframework_reportportal.listener' failed: KeyError: 'SKIP'
Package versions reportportal-client - 5.0.12 robotframework-reportportal - 5.2.0
Additional context Add any other context about the problem here.
Actually there are caused by missing key-value pair 'SKIP': 'INFO' within dictionary venv/Lib/site-packages/robotframework_reportportal/static.py: LOG_LEVEL_MAPPING = { 'INFO': 'INFO', 'FAIL': 'ERROR', 'TRACE': 'TRACE', 'DEBUG': 'DEBUG', 'HTML': 'INFO', 'WARN': 'WARN', 'ERROR': 'ERROR' }
Describe the bug Error raised when test skipped
Steps to Reproduce Run some test suite including 'skip' or 'skip if' keywords
Expected behavior No error expected
Actual behavior [ ERROR ] Calling method 'log_message' of listener 'robotframework_reportportal.listener' failed: KeyError: 'SKIP'
Package versions reportportal-client - 5.0.12 robotframework-reportportal - 5.2.0
Additional context Add any other context about the problem here.
Actually there are caused by missing key-value pair 'SKIP': 'INFO' within dictionary venv/Lib/site-packages/robotframework_reportportal/static.py: LOG_LEVEL_MAPPING = { 'INFO': 'INFO', 'FAIL': 'ERROR', 'TRACE': 'TRACE', 'DEBUG': 'DEBUG', 'HTML': 'INFO', 'WARN': 'WARN', 'ERROR': 'ERROR' }