qase-python-commons 3.1.6__py3-none-any.whl → 3.1.8__py3-none-any.whl
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.
Potentially problematic release.
This version of qase-python-commons might be problematic. Click here for more details.
- qase/commons/client/api_v1_client.py +3 -5
- {qase_python_commons-3.1.6.dist-info → qase_python_commons-3.1.8.dist-info}/METADATA +1 -1
- {qase_python_commons-3.1.6.dist-info → qase_python_commons-3.1.8.dist-info}/RECORD +5 -5
- {qase_python_commons-3.1.6.dist-info → qase_python_commons-3.1.8.dist-info}/WHEEL +0 -0
- {qase_python_commons-3.1.6.dist-info → qase_python_commons-3.1.8.dist-info}/top_level.txt +0 -0
|
@@ -74,7 +74,7 @@ class ApiV1Client(BaseApiClient):
|
|
|
74
74
|
return
|
|
75
75
|
try:
|
|
76
76
|
api_runs.complete_run(project_code, run_id)
|
|
77
|
-
self.logger.log(f"
|
|
77
|
+
self.logger.log(f"Test run link: {self.web}/run/{project_code}/dashboard/{run_id}", "info")
|
|
78
78
|
except Exception as e:
|
|
79
79
|
self.logger.log(f"Error at completing run {run_id}: {e}", "error")
|
|
80
80
|
raise ReporterException(e)
|
|
@@ -107,8 +107,6 @@ class ApiV1Client(BaseApiClient):
|
|
|
107
107
|
run_create=RunCreate(**{k: v for k, v in kwargs.items() if v is not None})
|
|
108
108
|
)
|
|
109
109
|
|
|
110
|
-
self.logger.log(f"Test run was created: {self.web}/run/{project_code}/dashboard/{result.result.id}", "info")
|
|
111
|
-
|
|
112
110
|
return result.result.id
|
|
113
111
|
|
|
114
112
|
except Exception as e:
|
|
@@ -141,7 +139,7 @@ class ApiV1Client(BaseApiClient):
|
|
|
141
139
|
for attachment in result.attachments:
|
|
142
140
|
attach_id = self._upload_attachment(project_code, attachment)
|
|
143
141
|
if attach_id:
|
|
144
|
-
attached.
|
|
142
|
+
attached.extend(attach_id)
|
|
145
143
|
|
|
146
144
|
steps = []
|
|
147
145
|
for step in result.steps:
|
|
@@ -256,7 +254,7 @@ class ApiV1Client(BaseApiClient):
|
|
|
256
254
|
for file in step.attachments:
|
|
257
255
|
attach_id = self._upload_attachment(project_code, file)
|
|
258
256
|
if attach_id:
|
|
259
|
-
uploaded_attachments.
|
|
257
|
+
uploaded_attachments.extend(attach_id)
|
|
260
258
|
prepared_step['attachments'] = [attach.hash for attach in uploaded_attachments]
|
|
261
259
|
|
|
262
260
|
if step.steps:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: qase-python-commons
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.8
|
|
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
|
|
@@ -3,7 +3,7 @@ qase/commons/config.py,sha256=meRRgDrsA9qQ9fZR4fnP0VdngrKiGcHF9nnJkf3eJpg,8320
|
|
|
3
3
|
qase/commons/loader.py,sha256=-MMY4HgSI6q1xq3NaJoq_w4liM73qdFKjYLVCT1E7Pc,1064
|
|
4
4
|
qase/commons/logger.py,sha256=ka5chQYBXLUB5pM4YHDBo3QCZfBTGMtC3H33tI4NbPQ,1027
|
|
5
5
|
qase/commons/utils.py,sha256=OOr6kQ5hPZEyHXwbwiTOTkonRxmmtkyZPPGqXQKp5vY,2799
|
|
6
|
-
qase/commons/client/api_v1_client.py,sha256=
|
|
6
|
+
qase/commons/client/api_v1_client.py,sha256=t93-wqb9Rxgsvsk49toRZPeaTtBUVWsDk-UQ8gpy9pU,11880
|
|
7
7
|
qase/commons/client/api_v2_client.py,sha256=F3wU_2EKe6eUjNRahvnDmpbx99PwZB6Lxc4VPRj7w58,7247
|
|
8
8
|
qase/commons/client/base_api_client.py,sha256=H8JnjqSrBFNfghDd3T3zxYOyKYHYe9QiJQXol1JqdQk,2613
|
|
9
9
|
qase/commons/exceptions/reporter.py,sha256=dP-Mwcq8HKBOjgu3YqhyULDmDGU09BmT6Fh9HjICaUc,45
|
|
@@ -34,7 +34,7 @@ qase/commons/reporters/core.py,sha256=0x5G-KVfEOWyXiXaX5__7JBIr3Rxy8vhy0cByUSZUc
|
|
|
34
34
|
qase/commons/reporters/report.py,sha256=MPsFv3k2l4652NyXEGFiSmwsSpwZT3Is-lLRXvsniz4,4606
|
|
35
35
|
qase/commons/reporters/testops.py,sha256=f5BcorFwIK5BSeA4Rv4IKDddkWrAXL_w-Y5Xn--NdYs,6264
|
|
36
36
|
qase/commons/validators/base.py,sha256=wwSn-4YiuXtfGMGnSKgo9Vm5hAKevVmmfd2Ro6Q7MYQ,173
|
|
37
|
-
qase_python_commons-3.1.
|
|
38
|
-
qase_python_commons-3.1.
|
|
39
|
-
qase_python_commons-3.1.
|
|
40
|
-
qase_python_commons-3.1.
|
|
37
|
+
qase_python_commons-3.1.8.dist-info/METADATA,sha256=6lr1O9vlI3BDkCu9ekgNJ9HqC0Yxl0Cj3PMTMYJ1Tog,1859
|
|
38
|
+
qase_python_commons-3.1.8.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
39
|
+
qase_python_commons-3.1.8.dist-info/top_level.txt,sha256=Mn5aFk7H7Uia4s1NRDsvebu8vCrFy9nOuRIBfkIY5kQ,5
|
|
40
|
+
qase_python_commons-3.1.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|