qase-python-commons 3.0.4__tar.gz → 3.0.6__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.
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/PKG-INFO +1 -1
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/pyproject.toml +1 -1
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/client/api_v1_client.py +1 -5
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/reporters/report.py +2 -2
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase_python_commons.egg-info/PKG-INFO +1 -1
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/README.md +0 -0
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/setup.cfg +0 -0
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/__init__.py +0 -0
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/client/api_v2_client.py +0 -0
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/client/base_api_client.py +0 -0
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/config.py +0 -0
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/exceptions/reporter.py +0 -0
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/loader.py +0 -0
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/logger.py +0 -0
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/models/__init__.py +0 -0
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/models/attachment.py +0 -0
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/models/basemodel.py +0 -0
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/models/relation.py +0 -0
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/models/result.py +0 -0
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/models/run.py +0 -0
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/models/runtime.py +0 -0
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/models/step.py +0 -0
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/models/suite.py +0 -0
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/profilers/__init__.py +0 -0
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/profilers/db.py +0 -0
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/profilers/network.py +0 -0
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/profilers/sleep.py +0 -0
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/reporters/__init__.py +0 -0
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/reporters/core.py +0 -0
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/reporters/testops.py +0 -0
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/utils.py +0 -0
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/validators/base.py +0 -0
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase_python_commons.egg-info/SOURCES.txt +0 -0
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase_python_commons.egg-info/dependency_links.txt +0 -0
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase_python_commons.egg-info/requires.txt +0 -0
- {qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase_python_commons.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: qase-python-commons
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.6
|
|
4
4
|
Summary: A library for Qase TestOps and Qase Report
|
|
5
5
|
Author-email: Qase Team <support@qase.io>
|
|
6
6
|
Project-URL: Homepage, https://github.com/qase-tms/qase-python/tree/master/qase-python-commons
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "qase-python-commons"
|
|
7
|
-
version = "3.0.
|
|
7
|
+
version = "3.0.6"
|
|
8
8
|
description = "A library for Qase TestOps and Qase Report"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
authors = [{name = "Qase Team", email = "support@qase.io"}]
|
{qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/client/api_v1_client.py
RENAMED
|
@@ -177,17 +177,13 @@ class ApiV1Client(BaseApiClient):
|
|
|
177
177
|
"steps": steps,
|
|
178
178
|
"param": result.params,
|
|
179
179
|
"defect": self.config.get('testops.defect', False, bool),
|
|
180
|
+
"case": case_data
|
|
180
181
|
}
|
|
181
182
|
|
|
182
183
|
test_ops_id = result.get_testops_id()
|
|
183
184
|
|
|
184
185
|
if test_ops_id:
|
|
185
186
|
result_model["case_id"] = test_ops_id
|
|
186
|
-
result_model["case"] = None
|
|
187
|
-
return result_model
|
|
188
|
-
|
|
189
|
-
result_model["case_id"] = None
|
|
190
|
-
result_model["case"] = case_data
|
|
191
187
|
|
|
192
188
|
self.logger.log_debug(f"Prepared result: {result_model}")
|
|
193
189
|
|
{qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/reporters/report.py
RENAMED
|
@@ -117,8 +117,8 @@ class QaseReport:
|
|
|
117
117
|
self._store_object(run, self.report_path, "report")
|
|
118
118
|
|
|
119
119
|
# Saves a model to a file
|
|
120
|
-
def _store_object(self,
|
|
121
|
-
data =
|
|
120
|
+
def _store_object(self, obj, path, filename):
|
|
121
|
+
data = obj.__str__()
|
|
122
122
|
if self.format == 'jsonp':
|
|
123
123
|
data = f"qaseJsonp({data});"
|
|
124
124
|
with open(f"{path}/{filename}.{self.format}", 'w', encoding='utf-8') as f:
|
{qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase_python_commons.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: qase-python-commons
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.6
|
|
4
4
|
Summary: A library for Qase TestOps and Qase Report
|
|
5
5
|
Author-email: Qase Team <support@qase.io>
|
|
6
6
|
Project-URL: Homepage, https://github.com/qase-tms/qase-python/tree/master/qase-python-commons
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/client/api_v2_client.py
RENAMED
|
File without changes
|
{qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/client/base_api_client.py
RENAMED
|
File without changes
|
|
File without changes
|
{qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/exceptions/reporter.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/models/attachment.py
RENAMED
|
File without changes
|
{qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/models/basemodel.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/profilers/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/profilers/network.py
RENAMED
|
File without changes
|
|
File without changes
|
{qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/reporters/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase/commons/reporters/testops.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{qase_python_commons-3.0.4 → qase_python_commons-3.0.6}/src/qase_python_commons.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|