qase-python-commons 2.0.7__tar.gz → 2.0.9__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-2.0.7/src/qase_python_commons.egg-info → qase-python-commons-2.0.9}/PKG-INFO +1 -1
- {qase-python-commons-2.0.7 → qase-python-commons-2.0.9}/pyproject.toml +1 -1
- {qase-python-commons-2.0.7 → qase-python-commons-2.0.9/src/qase_python_commons.egg-info}/PKG-INFO +1 -1
- {qase-python-commons-2.0.7 → qase-python-commons-2.0.9}/src/qaseio/commons/interceptor.py +2 -0
- {qase-python-commons-2.0.7 → qase-python-commons-2.0.9}/src/qaseio/commons/testops.py +2 -2
- {qase-python-commons-2.0.7 → qase-python-commons-2.0.9}/AUTHORS.rst +0 -0
- {qase-python-commons-2.0.7 → qase-python-commons-2.0.9}/README.md +0 -0
- {qase-python-commons-2.0.7 → qase-python-commons-2.0.9}/setup.cfg +0 -0
- {qase-python-commons-2.0.7 → qase-python-commons-2.0.9}/src/qase_python_commons.egg-info/SOURCES.txt +0 -0
- {qase-python-commons-2.0.7 → qase-python-commons-2.0.9}/src/qase_python_commons.egg-info/dependency_links.txt +0 -0
- {qase-python-commons-2.0.7 → qase-python-commons-2.0.9}/src/qase_python_commons.egg-info/requires.txt +0 -0
- {qase-python-commons-2.0.7 → qase-python-commons-2.0.9}/src/qase_python_commons.egg-info/top_level.txt +0 -0
- {qase-python-commons-2.0.7 → qase-python-commons-2.0.9}/src/qaseio/commons/__init__.py +0 -0
- {qase-python-commons-2.0.7 → qase-python-commons-2.0.9}/src/qaseio/commons/config.py +0 -0
- {qase-python-commons-2.0.7 → qase-python-commons-2.0.9}/src/qaseio/commons/loader.py +0 -0
- {qase-python-commons-2.0.7 → qase-python-commons-2.0.9}/src/qaseio/commons/models/__init__.py +0 -0
- {qase-python-commons-2.0.7 → qase-python-commons-2.0.9}/src/qaseio/commons/models/attachment.py +0 -0
- {qase-python-commons-2.0.7 → qase-python-commons-2.0.9}/src/qaseio/commons/models/relation.py +0 -0
- {qase-python-commons-2.0.7 → qase-python-commons-2.0.9}/src/qaseio/commons/models/result.py +0 -0
- {qase-python-commons-2.0.7 → qase-python-commons-2.0.9}/src/qaseio/commons/models/run.py +0 -0
- {qase-python-commons-2.0.7 → qase-python-commons-2.0.9}/src/qaseio/commons/models/runtime.py +0 -0
- {qase-python-commons-2.0.7 → qase-python-commons-2.0.9}/src/qaseio/commons/models/step.py +0 -0
- {qase-python-commons-2.0.7 → qase-python-commons-2.0.9}/src/qaseio/commons/models/suite.py +0 -0
- {qase-python-commons-2.0.7 → qase-python-commons-2.0.9}/src/qaseio/commons/report.py +0 -0
- {qase-python-commons-2.0.7 → qase-python-commons-2.0.9}/src/qaseio/commons/utils.py +0 -0
{qase-python-commons-2.0.7/src/qase_python_commons.egg-info → qase-python-commons-2.0.9}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: qase-python-commons
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.9
|
|
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 = "2.0.
|
|
7
|
+
version = "2.0.9"
|
|
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-2.0.7 → qase-python-commons-2.0.9/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: 2.0.
|
|
3
|
+
Version: 2.0.9
|
|
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
|
|
@@ -80,6 +80,8 @@ class Interceptor:
|
|
|
80
80
|
def _log_post_response(response, url=None, *args, **kwargs):
|
|
81
81
|
status = response.status if hasattr(response, 'status') else response.status_code
|
|
82
82
|
interceptor = InterceptorSingleton.get_instance()
|
|
83
|
+
if interceptor.step is None:
|
|
84
|
+
return
|
|
83
85
|
interceptor.step.data.add_response(
|
|
84
86
|
status_code = status,
|
|
85
87
|
response_body = str(response.data if hasattr(response, 'data') else response.content) if interceptor.track_on_fail and status >= 400 else None,
|
|
@@ -91,8 +91,8 @@ class QaseTestOps:
|
|
|
91
91
|
response = api_instance.get_environments(code=project)
|
|
92
92
|
if hasattr(response, 'result'):
|
|
93
93
|
for env in response.result.entities:
|
|
94
|
-
if env
|
|
95
|
-
return env
|
|
94
|
+
if env.slug == environment:
|
|
95
|
+
return env.id
|
|
96
96
|
return None
|
|
97
97
|
|
|
98
98
|
def _send_bulk_results(self):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{qase-python-commons-2.0.7 → qase-python-commons-2.0.9}/src/qase_python_commons.egg-info/SOURCES.txt
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-2.0.7 → qase-python-commons-2.0.9}/src/qaseio/commons/models/__init__.py
RENAMED
|
File without changes
|
{qase-python-commons-2.0.7 → qase-python-commons-2.0.9}/src/qaseio/commons/models/attachment.py
RENAMED
|
File without changes
|
{qase-python-commons-2.0.7 → qase-python-commons-2.0.9}/src/qaseio/commons/models/relation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{qase-python-commons-2.0.7 → qase-python-commons-2.0.9}/src/qaseio/commons/models/runtime.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|