From 6660fee8f5d4e3a06668cf2fe74a2f0d9930b8f7 Mon Sep 17 00:00:00 2001 From: Nikolay Golub Date: Tue, 7 Jun 2016 00:12:18 +0300 Subject: [PATCH] Fix empty testcases by setting _cleanup to False In python3 BaseTestSuite has a class property _cleanup = False, which clears all testcases after TestSuite.run() is executed --- xunitparser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/xunitparser.py b/xunitparser.py index d72fe2b..b833268 100644 --- a/xunitparser.py +++ b/xunitparser.py @@ -128,6 +128,7 @@ def __init__(self, *args, **kwargs): self.properties = {} self.stdout = None self.stderr = None + self._cleanup = False class Parser(object):