allankp / pytest-testrail

pytest plugin for integration with TestRail, for creating testruns and updating results
MIT License
96 stars 124 forks source link

Use RawConfigParser instead of ConfigParser to support special characters in passwords #80

Closed SootyOwl closed 5 years ago

SootyOwl commented 5 years ago

Hi,

Having some trouble with a testrail password that contains a '%' symbol. Since this is a special character for ConfigParser interpolation the test is failing instantly.

Would it be possible to use RawConfigParser or are the interpolation features required?

Cheers

allankp commented 5 years ago

@TytoDan Have you tried escaping the character ?

allankp commented 5 years ago

Closing as no reply for extended period of time, feel free to reopen.

kempeltemple commented 4 years ago

I just wanted to comment on this issue, as I ran into the same problem, where a "%" character in the password was causing ptest-testrail to break. The workaround was to add a second "%" character, as described here: https://stackoverflow.com/a/28874886/1798547