qase-python-commons 3.5.0__py3-none-any.whl → 3.5.2__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.

@@ -117,9 +117,11 @@ class QaseTestOps:
117
117
  def complete_run(self) -> None:
118
118
  if len(self.results) > 0:
119
119
  self._send_results()
120
+
121
+ while self.count_running_threads > 0:
122
+ pass
123
+
120
124
  if self.complete_after_run:
121
- while self.count_running_threads > 0:
122
- pass
123
125
  self.logger.log_debug("Completing run")
124
126
  self.client.complete_run(self.project_code, self.run_id)
125
127
  self.logger.log_debug("Run completed")
@@ -127,6 +129,9 @@ class QaseTestOps:
127
129
  def complete_worker(self) -> None:
128
130
  if len(self.results) > 0:
129
131
  self._send_results()
132
+ while self.count_running_threads > 0:
133
+ pass
134
+ self.logger.log_debug("Worker completed")
130
135
 
131
136
  def add_result(self, result: Result) -> None:
132
137
  if result.get_status() == 'failed':
@@ -148,7 +153,7 @@ class QaseTestOps:
148
153
  def __prepare_link(self, ids: Union[None, List[int]], title: str):
149
154
  link = f"{self.__baseUrl}/run/{self.project_code}/dashboard/{self.run_id}?source=logs&status=%5B2%5D&search="
150
155
  if ids is not None and len(ids) > 0:
151
- return f"{link}{ids[0]}"
156
+ return f"{link}{self.project_code}-{ids[0]}"
152
157
  return f"{link}{urllib.parse.quote_plus(title)}"
153
158
 
154
159
  @staticmethod
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: qase-python-commons
3
- Version: 3.5.0
3
+ Version: 3.5.2
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/main/qase-python-commons
@@ -31,11 +31,11 @@ qase/commons/profilers/sleep.py,sha256=HT6h0R-2XHZAoBYRxS2T_KC8RrnEoVjP7MXusaE4N
31
31
  qase/commons/reporters/__init__.py,sha256=J0aNLzb_MPPT_zF8BtX_w9nj_U7Ad06RGpyWK5Pxq1o,169
32
32
  qase/commons/reporters/core.py,sha256=JyFMGhcDOr3nBlhh0Ca8Dx6BmvNBoG8m1Y4hpC0qIog,8185
33
33
  qase/commons/reporters/report.py,sha256=ZLwtVn5gjwgJFtfbpLUO-vW3M3skEq3AhKJwtmM0nUw,4810
34
- qase/commons/reporters/testops.py,sha256=QEcpJhRqXTn4H_EcTt6vG_jqRgw6DGmgS2ZmysZJZdc,6303
34
+ qase/commons/reporters/testops.py,sha256=pYSLjSSvDeN3K1DN_7pFHataZHQEjU3ul-8x8-9uotY,6446
35
35
  qase/commons/util/__init__.py,sha256=0sRRfrMOIPCHpk9tXM94Pj10qrk18B61qEcbLpRjw_I,74
36
36
  qase/commons/util/host_data.py,sha256=n8o5PDs8kELCZZ5GR7Jug6LsgZHWJudU7iRmZHRdrlw,5264
37
37
  qase/commons/validators/base.py,sha256=wwSn-4YiuXtfGMGnSKgo9Vm5hAKevVmmfd2Ro6Q7MYQ,173
38
- qase_python_commons-3.5.0.dist-info/METADATA,sha256=yuRmcDqspFXnzg7YkM_w9AFAyfUVS34GzeM_iTgydvg,1857
39
- qase_python_commons-3.5.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
40
- qase_python_commons-3.5.0.dist-info/top_level.txt,sha256=Mn5aFk7H7Uia4s1NRDsvebu8vCrFy9nOuRIBfkIY5kQ,5
41
- qase_python_commons-3.5.0.dist-info/RECORD,,
38
+ qase_python_commons-3.5.2.dist-info/METADATA,sha256=mo-mgFlC9juQ_JrN-p2WXPEHegIGu75_i8dVF8bJTnw,1857
39
+ qase_python_commons-3.5.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
40
+ qase_python_commons-3.5.2.dist-info/top_level.txt,sha256=Mn5aFk7H7Uia4s1NRDsvebu8vCrFy9nOuRIBfkIY5kQ,5
41
+ qase_python_commons-3.5.2.dist-info/RECORD,,