allankp / pytest-testrail

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

Logic inverted with option "--tr-dont-publish-blocked" #62

Closed svart-riddare closed 6 years ago

svart-riddare commented 6 years ago

Greetings,

When I do not specify this command line option, testrail prints

Option "Don't publish blocked testcases" activated

The reason is that the _publishblocked member variable of PyTestRailPlugin is set to the value of the '--tr-dont-publish-blocked' command line option. From the wording and the code, I would expect this variable to bet set to not the command line option value.

apallier commented 6 years ago

Hi @svart-riddare, you are right, the logic is inverted but it's a bug...