def test_should_not_detect_teamcity_when_environment_variable_unset(self):
     self.assertFalse(
         _is_running_on_teamcity({"ANY_OTHER_VARIABLE": "1.0.0"}))
 def test_should_not_detect_teamcity_when_environment_variable_unset(self):
     self.assertFalse(_is_running_on_teamcity({"ANY_OTHER_VARIABLE": "1.0.0"}))
 def test_should_detect_teamcity_when_environment_variable_set(self):
     self.assertTrue(_is_running_on_teamcity({"TEAMCITY_VERSION": "1.0.0"}))
 def test_should_detect_teamcity_when_environment_variable_set(self):
     self.assertTrue(_is_running_on_teamcity({"TEAMCITY_VERSION": "1.0.0"}))