JetBrains / teamcity-messages

Python Unit Test Reporting to TeamCity
https://pypi.python.org/pypi/teamcity-messages
Apache License 2.0
137 stars 81 forks source link

teamcity mode is always on for Django and nose runner #219

Open kolomenkin opened 5 years ago

kolomenkin commented 5 years ago

Hi,

It seems teamcity message format is always on regardless if we are running in TeamCity in any of the following cases: 1) Django tests with TEST_RUNNER = "teamcity.django.TeamcityDjangoRunner" 2) Nose test runner (with loaded plugin from teamcity-messages).

I would expect in both cases is_running_under_teamcity() function to be automatically used to enable/disable functionality. But it is not used.

Is it a bug? Or this is by design?