robotframework-lint
robotframework-lint copied to clipboard
UnicodeError when there are non-ASCII symbols in test-case names
When I use non-ASCII symbols in test-case, test-suite names, tags, etc. which are included in rflint output, text of UnicodeError appears instead of rflint message (environment: python 2.7)
Test-case example:
*** Test Cases ***
Пример тест-кейса.
[Tags] example
Log Test-case with non-ASCII symbols in its name.
rflint output:
$ rflint example.robot
+ example.robot
'ascii' codec can't encode characters in position 22-27: ordinal not in range(128)
Expected output:
$ rflint example.robot
+ example.robot
W: 14, 0: '.' in testcase name 'Пример тест-кейса.' (PeriodInTestName)
Thanks for the bug report and test case. I've found the error and will be providing a fix soon.