JetBrains/teamcity-python — pull request #7 by iw-kuchin (2013-02-27 07:10:12+00:00)
Title: Support for test durations in testFinished messages

Added support for `duration` key for `unittest` python module. TeamCity supports this key to set durations manually.

This can be useful in some scenarios when tests are run on remote machine and TeamCity build agent only translates results to stdout. I have exactly this setup and in this case TeamCity is unable to correctly calculate test durations by itself.