Test case for issue #11: https://github.com/JetBrains/teamcity-python/issues/11