Coverage for Applications/PyCharm.app/Contents/plugins/python/helpers/pycharm/teamcity/__init__.py: 100%
6 statements
« prev ^ index » next coverage.py v7.2.7, created at 2023-06-12 16:26 -0700
« prev ^ index » next coverage.py v7.2.7, created at 2023-06-12 16:26 -0700
1# coding=utf-8
2import os
4__all__ = ['is_running_under_teamcity']
6__version__ = "1.29"
8teamcity_presence_env_var = "TEAMCITY_VERSION"
11def is_running_under_teamcity():
12 return bool(os.getenv(teamcity_presence_env_var))