Closed smartmouse closed 7 years ago
@smartmouse If you look at the last line of the error
INTERNALERROR> return map(int, [test_id.upper().replace('C', '') for test_id in test_ids])
INTERNALERROR> ValueError: invalid literal for int() with base 10: 'T75'
The plugin removes the C from the start of testcaseids, so that only the int is passed to testrail ( API only accepts ints )
So since you have used the:
@testrail('T75')
The T character is being used as well which throws the error.
You should be using something like: @testrail('CXXXXXX')
This is stated in the README, give me a shout if you are still having issues.
Thank you for the plugin, I am a new user to testRail and try to integrate with a simple python test- install.py I am following the readme but run into some issues. What did I miss here or do wrong? Any help is appreciated, how do we debug this? looks like , it does not like 'T75' Thanks in advance
=======================
py.test install.py --testrail=setting.cfg --tr_name='install test'