Fix ansible-test junit timeout xml output.
This commit is contained in:
parent
b41027b6cd
commit
1c780e79c6
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ class TestTimeout(TestResult):
|
||||||
path = self.create_path('junit', '.xml')
|
path = self.create_path('junit', '.xml')
|
||||||
|
|
||||||
with open(path, 'w') as junit_fd:
|
with open(path, 'w') as junit_fd:
|
||||||
junit_fd.write(xml)
|
junit_fd.write(xml.lstrip())
|
||||||
|
|
||||||
|
|
||||||
class TestSuccess(TestResult):
|
class TestSuccess(TestResult):
|
||||||
|
|
Loading…
Reference in a new issue