I run some Python unit tests as part of a larger build, and I just started using the TeamcityTestRunner from this package, as so:
runner_class = TeamcityTestRunner if is_running_under_teamcity() else unittest.TextTestRunner
runner = runner_class(stream=sys.stdout, verbosity=2)
result = runner.run(unittest.defaultTestLoader.discover("igpy", pattern="*.py"))
In the heirarchical log view, this causes them to get hoisted up out of my normal set of message blocks and into the top level, all the way at the bottom of the log.
Is there a way around this? I assume it has to do with the test messages getting flowId attributes, whereas I don't otherwise use those in my build.
I run some Python unit tests as part of a larger build, and I just started using the TeamcityTestRunner from this package, as so:
In the heirarchical log view, this causes them to get hoisted up out of my normal set of message blocks and into the top level, all the way at the bottom of the log.
Is there a way around this? I assume it has to do with the test messages getting
flowId
attributes, whereas I don't otherwise use those in my build.