pytest-json-ctrf 0.3.4__tar.gz → 0.3.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pytest_json_ctrf-0.3.4 → pytest_json_ctrf-0.3.5}/PKG-INFO +1 -1
- {pytest_json_ctrf-0.3.4 → pytest_json_ctrf-0.3.5}/ctrf/Report.py +1 -5
- {pytest_json_ctrf-0.3.4 → pytest_json_ctrf-0.3.5}/pyproject.toml +1 -1
- {pytest_json_ctrf-0.3.4 → pytest_json_ctrf-0.3.5}/pytest_json_ctrf.egg-info/PKG-INFO +1 -1
- {pytest_json_ctrf-0.3.4 → pytest_json_ctrf-0.3.5}/README.md +0 -0
- {pytest_json_ctrf-0.3.4 → pytest_json_ctrf-0.3.5}/ctrf/BaseMetadataReport.py +0 -0
- {pytest_json_ctrf-0.3.4 → pytest_json_ctrf-0.3.5}/ctrf/CommonTestReportPlugin.py +0 -0
- {pytest_json_ctrf-0.3.4 → pytest_json_ctrf-0.3.5}/ctrf/TestObject.py +0 -0
- {pytest_json_ctrf-0.3.4 → pytest_json_ctrf-0.3.5}/ctrf/__init__.py +0 -0
- {pytest_json_ctrf-0.3.4 → pytest_json_ctrf-0.3.5}/ctrf/main.py +0 -0
- {pytest_json_ctrf-0.3.4 → pytest_json_ctrf-0.3.5}/pytest_json_ctrf.egg-info/SOURCES.txt +0 -0
- {pytest_json_ctrf-0.3.4 → pytest_json_ctrf-0.3.5}/pytest_json_ctrf.egg-info/dependency_links.txt +0 -0
- {pytest_json_ctrf-0.3.4 → pytest_json_ctrf-0.3.5}/pytest_json_ctrf.egg-info/entry_points.txt +0 -0
- {pytest_json_ctrf-0.3.4 → pytest_json_ctrf-0.3.5}/pytest_json_ctrf.egg-info/requires.txt +0 -0
- {pytest_json_ctrf-0.3.4 → pytest_json_ctrf-0.3.5}/pytest_json_ctrf.egg-info/top_level.txt +0 -0
- {pytest_json_ctrf-0.3.4 → pytest_json_ctrf-0.3.5}/setup.cfg +0 -0
- {pytest_json_ctrf-0.3.4 → pytest_json_ctrf-0.3.5}/tests/test_example.py +0 -0
- {pytest_json_ctrf-0.3.4 → pytest_json_ctrf-0.3.5}/tests/test_plugin.py +0 -0
|
@@ -80,10 +80,6 @@ class Report:
|
|
|
80
80
|
def save(self, report_file: str) -> None:
|
|
81
81
|
dirname = os.path.dirname(report_file)
|
|
82
82
|
if dirname:
|
|
83
|
-
|
|
84
|
-
os.makedirs(dirname)
|
|
85
|
-
except Exception as e:
|
|
86
|
-
print(e)
|
|
87
|
-
raise Exception(f"Can't create directory {dirname}")
|
|
83
|
+
os.makedirs(dirname, exist_ok=True)
|
|
88
84
|
with open(report_file, 'w') as file:
|
|
89
85
|
json.dump(self.get_report(), file, default=str, indent=4)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pytest_json_ctrf-0.3.4 → pytest_json_ctrf-0.3.5}/pytest_json_ctrf.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{pytest_json_ctrf-0.3.4 → pytest_json_ctrf-0.3.5}/pytest_json_ctrf.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|