Fix ansible-test junit timeout xml output.

This commit is contained in:
Matt Clay 2019-03-07 07:06:55 -08:00
parent b41027b6cd
commit 1c780e79c6

View file

@ -202,7 +202,7 @@ class TestTimeout(TestResult):
path = self.create_path('junit', '.xml')
with open(path, 'w') as junit_fd:
junit_fd.write(xml)
junit_fd.write(xml.lstrip())
class TestSuccess(TestResult):