testit-python-commons 4.2.8.post570__py3-none-any.whl → 4.2.9__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.
@@ -502,13 +502,8 @@ class ApiClientWorker:
502
502
  return
503
503
 
504
504
  for test_result in test_results:
505
- test_result_response = self.get_test_result_by_id(test_result.get_test_result_id())
506
- model = Converter.convert_test_result_model_to_test_results_id_put_request(test_result_response)
507
-
508
- model.setup_results = Converter.step_results_to_auto_test_step_result_update_request(
509
- test_result.get_setup_results())
510
- model.teardown_results = Converter.step_results_to_auto_test_step_result_update_request(
511
- test_result.get_teardown_results())
505
+ model = Converter.convert_test_result_with_all_setup_and_teardown_steps_to_test_results_id_put_request(
506
+ test_result)
512
507
 
513
508
  try:
514
509
  self.__test_results_api.api_v2_test_results_id_put(
@@ -300,7 +300,7 @@ class Converter:
300
300
  failure_class_ids=test_result.failure_class_ids,
301
301
  status_code=test_result.status.code,
302
302
  comment=test_result.comment,
303
- links=test_result.links,
303
+ links=list(map(cls.build_create_link_api_model, test_result.links)),
304
304
  step_results=test_result.step_results,
305
305
  attachments=cls.attachment_models_to_attachment_put_models(test_result.attachments),
306
306
  duration_in_ms=test_result.duration_in_ms,
@@ -316,9 +316,9 @@ class Converter:
316
316
  cls,
317
317
  test_result: TestResultWithAllFixtureStepResults) -> ApiV2TestResultsIdPutRequest:
318
318
  return ApiV2TestResultsIdPutRequest(
319
- setup_results=cls.step_results_to_attachment_put_model_autotest_step_results_model(
319
+ setup_results=cls.step_results_to_auto_test_step_result_update_request(
320
320
  test_result.get_setup_results()),
321
- teardown_results=cls.step_results_to_attachment_put_model_autotest_step_results_model(
321
+ teardown_results=cls.step_results_to_auto_test_step_result_update_request(
322
322
  test_result.get_teardown_results()))
323
323
 
324
324
  @classmethod
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: testit-python-commons
3
- Version: 4.2.8.post570
3
+ Version: 4.2.9
4
4
  Summary: Python commons for Test IT
5
5
  Home-page: https://github.com/testit-tms/adapters-python/
6
6
  Author: Integration team
@@ -17,7 +17,7 @@ Classifier: Programming Language :: Python :: 3.12
17
17
  Description-Content-Type: text/markdown
18
18
  Requires-Dist: pluggy
19
19
  Requires-Dist: tomli
20
- Requires-Dist: testit-api-client==7.5.5.post570
20
+ Requires-Dist: testit-api-client==7.5.11
21
21
  Dynamic: author
22
22
  Dynamic: author-email
23
23
  Dynamic: classifier
@@ -29,9 +29,9 @@ testit_python_commons/decorators.py,sha256=QI8qMjDincTRZmcZByP5y5wHsf_Fwd1oc67Wu
29
29
  testit_python_commons/dynamic_methods.py,sha256=WKHHA6Uj61tWXI3DphALYOi2BV6TnQKvQy0-Vt2JR2I,8816
30
30
  testit_python_commons/step.py,sha256=CYUs_S8opmRg1tsTY1dVJOPzzt-HYR3_uLTBpYtHSfQ,3244
31
31
  testit_python_commons/client/__init__.py,sha256=zSJhxDHzWWTFHJ0s8bqCaBtM5FK2GcPgZxaKdI8zf-o,165
32
- testit_python_commons/client/api_client.py,sha256=8bx1dwtVs8EQCdyyDC7Gx0GxUBqmeuGoxPZNJGo4p48,22451
32
+ testit_python_commons/client/api_client.py,sha256=9UWO-4l_nLwhvSjksMdgyB6W4dPaufgjAn-ScQauVbc,22082
33
33
  testit_python_commons/client/client_configuration.py,sha256=1M-OrROU3Xj0YGsUX4venG-l6Ewr43LNvUcyFfY57ys,2776
34
- testit_python_commons/client/converter.py,sha256=BSNj9CcopNJmppV6FRJ4GQwyL455CUUYG8doLdw_KNE,23946
34
+ testit_python_commons/client/converter.py,sha256=R_BYE2qjJIRAuV2bDzlWD3zLbhi2QDTfTRjGVG-vqLw,23966
35
35
  testit_python_commons/client/helpers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
36
36
  testit_python_commons/client/helpers/bulk_autotest_helper.py,sha256=a3vwfdfzzvAnxY0s6o-WHkohKjNwogEAkmU1W81G-Bk,10805
37
37
  testit_python_commons/client/helpers/threads_manager.py,sha256=TUJmvem5WMPWjZR-Hl0gzaiE49iRPkkCHNBBIsJbkcE,3507
@@ -65,7 +65,7 @@ testit_python_commons/services/sync_storage/__init__.py,sha256=Qmjs6Xk5l-i5FFItk
65
65
  testit_python_commons/services/sync_storage/sync_storage_runner.py,sha256=93OXrGlGKik9359j8novwtG_hud8VL_Ksznts8sRdjE,20546
66
66
  testit_python_commons/utils/__init__.py,sha256=CUHziylwvFAuKyUM1tCp13ik5Z2Mw-VK8n7c92aVy-I,78
67
67
  testit_python_commons/utils/html_escape_utils.py,sha256=wx20lAVrMvhNiQ7bEu_f-SGqDBp85D-EBL2sgTmnJPY,8135
68
- testit_python_commons-4.2.8.post570.dist-info/METADATA,sha256=1Qda9AYUZVhV4b2XJ4_MkZCeJBzEArlJmjPRiNxWeFY,1677
69
- testit_python_commons-4.2.8.post570.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
70
- testit_python_commons-4.2.8.post570.dist-info/top_level.txt,sha256=4uNwwrEWiX5vbjEzjHv6VhG67pQlpitKiuCjeSAwCkU,52
71
- testit_python_commons-4.2.8.post570.dist-info/RECORD,,
68
+ testit_python_commons-4.2.9.dist-info/METADATA,sha256=fwQRz6Swttz6TfXXE62gH0xaHvK6Tu_YyDgtNsEcuFw,1662
69
+ testit_python_commons-4.2.9.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
70
+ testit_python_commons-4.2.9.dist-info/top_level.txt,sha256=4uNwwrEWiX5vbjEzjHv6VhG67pQlpitKiuCjeSAwCkU,52
71
+ testit_python_commons-4.2.9.dist-info/RECORD,,