Repository: eliorerz/junit-report (language: python)

Issue:
Bugfix/fix inner exception



Discussion / hints:

Fix patch:
diff --git a/requirements.txt b/requirements.txt
index 0ce5a78..972511c 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,4 +1,4 @@
-pytest>=6.2.2
+pytest>=6.2.5
 decorator>=4.4.2
 dataclasses>=0.6
 junit-xml==1.9
\ No newline at end of file
diff --git a/version.txt b/version.txt
index 46a5a18..5198d61 100644
--- a/version.txt
+++ b/version.txt
@@ -1,1 +1,1 @@
-v0.1.38-1-g65a9eb6
\ No newline at end of file
+v0.1.39-0-ge1939d5
\ No newline at end of file


Test patch:
diff --git a/src/junit_report/_junit_fixture_test_case.py b/src/junit_report/_junit_fixture_test_case.py
index 4f63f7b..100dd29 100644
--- a/src/junit_report/_junit_fixture_test_case.py
+++ b/src/junit_report/_junit_fixture_test_case.py
@@ -77,4 +77,4 @@ def _on_wrapper_end(self):
 
         super(JunitFixtureTestCase, self)._on_wrapper_end()
         if len(self._case_data.case.failures) > 0 or self._inner_test_case_exception:
-            JunitTestSuite.collect_all(self._inner_test_case_exception)
+            JunitTestSuite.collect_all(True)