testit-python-commons 4.2.7.post570__tar.gz → 4.2.8__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.
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/PKG-INFO +2 -2
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/setup.py +2 -2
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/client/api_client.py +5 -7
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/client/converter.py +6 -4
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/services/adapter_manager.py +5 -3
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/services/sync_storage/sync_storage_runner.py +1 -1
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons.egg-info/PKG-INFO +2 -2
- testit_python_commons-4.2.8/src/testit_python_commons.egg-info/requires.txt +3 -0
- testit_python_commons-4.2.7.post570/src/testit_python_commons.egg-info/requires.txt +0 -3
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/README.md +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/setup.cfg +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/api_client_syncstorage/__init__.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/api_client_syncstorage/api/__init__.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/api_client_syncstorage/api/completion_api.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/api_client_syncstorage/api/health_api.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/api_client_syncstorage/api/system_api.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/api_client_syncstorage/api/test_results_api.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/api_client_syncstorage/api/workers_api.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/api_client_syncstorage/api_client.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/api_client_syncstorage/apis/__init__.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/api_client_syncstorage/configuration.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/api_client_syncstorage/exceptions.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/api_client_syncstorage/model/__init__.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/api_client_syncstorage/model/completion_response.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/api_client_syncstorage/model/health_status_response.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/api_client_syncstorage/model/register_request.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/api_client_syncstorage/model/register_response.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/api_client_syncstorage/model/set_worker_status_request.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/api_client_syncstorage/model/set_worker_status_response.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/api_client_syncstorage/model/shutdown_response.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/api_client_syncstorage/model/test_result_cut_api_model.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/api_client_syncstorage/model/test_result_save_response.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/api_client_syncstorage/model_utils.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/api_client_syncstorage/models/__init__.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/api_client_syncstorage/rest.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/__init__.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/app_properties.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/client/__init__.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/client/client_configuration.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/client/helpers/__init__.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/client/helpers/bulk_autotest_helper.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/client/helpers/threads_manager.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/client/models/__init__.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/client/models/threads_for_create_and_result.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/client/models/threads_for_update_and_result.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/configurations/__init__.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/configurations/properties_names.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/decorators.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/dynamic_methods.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/models/__init__.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/models/adapter_mode.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/models/fixture.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/models/link.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/models/link_type.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/models/outcome_type.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/models/status_type.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/models/step_result.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/models/test_result.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/models/test_result_with_all_fixture_step_results_model.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/services/__init__.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/services/adapter_manager_configuration.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/services/fixture_manager.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/services/fixture_storage.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/services/logger.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/services/plugin_manager.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/services/retry.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/services/step_manager.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/services/step_result_storage.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/services/sync_storage/__init__.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/services/utils.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/step.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/utils/__init__.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons/utils/html_escape_utils.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons.egg-info/SOURCES.txt +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons.egg-info/dependency_links.txt +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/src/testit_python_commons.egg-info/top_level.txt +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/tests/test_app_properties.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/tests/test_dynamic_methods.py +0 -0
- {testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/tests/test_html_escape_utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: testit-python-commons
|
|
3
|
-
Version: 4.2.
|
|
3
|
+
Version: 4.2.8
|
|
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.
|
|
20
|
+
Requires-Dist: testit-api-client==7.5.10
|
|
21
21
|
Dynamic: author
|
|
22
22
|
Dynamic: author-email
|
|
23
23
|
Dynamic: classifier
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from setuptools import find_packages, setup
|
|
2
2
|
|
|
3
|
-
VERSION = "4.2.
|
|
3
|
+
VERSION = "4.2.8"
|
|
4
4
|
|
|
5
5
|
setup(
|
|
6
6
|
name='testit-python-commons',
|
|
@@ -25,5 +25,5 @@ setup(
|
|
|
25
25
|
py_modules=['testit', 'testit_python_commons'],
|
|
26
26
|
packages=find_packages(where='src'),
|
|
27
27
|
package_dir={'': 'src'},
|
|
28
|
-
install_requires=['pluggy', 'tomli', 'testit-api-client==7.5.
|
|
28
|
+
install_requires=['pluggy', 'tomli', 'testit-api-client==7.5.10']
|
|
29
29
|
)
|
|
@@ -498,14 +498,12 @@ class ApiClientWorker:
|
|
|
498
498
|
test_results = Converter.fixtures_containers_to_test_results_with_all_fixture_step_results(
|
|
499
499
|
fixtures_containers, test_result_ids)
|
|
500
500
|
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
model = Converter.convert_test_result_model_to_test_results_id_put_request(test_result_response)
|
|
501
|
+
if not test_results:
|
|
502
|
+
return
|
|
504
503
|
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
test_result.get_teardown_results())
|
|
504
|
+
for test_result in test_results:
|
|
505
|
+
model = Converter.convert_test_result_with_all_setup_and_teardown_steps_to_test_results_id_put_request(
|
|
506
|
+
test_result)
|
|
509
507
|
|
|
510
508
|
try:
|
|
511
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.
|
|
319
|
+
setup_results=cls.step_results_to_auto_test_step_result_update_request(
|
|
320
320
|
test_result.get_setup_results()),
|
|
321
|
-
teardown_results=cls.
|
|
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
|
|
@@ -515,7 +515,9 @@ class Converter:
|
|
|
515
515
|
test_result_with_all_fixture_step_results.set_teardown_results(
|
|
516
516
|
fixtures_container.afters[0].steps)
|
|
517
517
|
|
|
518
|
-
|
|
518
|
+
if (test_result_with_all_fixture_step_results.get_setup_results()
|
|
519
|
+
or test_result_with_all_fixture_step_results.get_teardown_results()):
|
|
520
|
+
test_results_with_all_fixture_step_results.append(test_result_with_all_fixture_step_results)
|
|
519
521
|
|
|
520
522
|
return test_results_with_all_fixture_step_results
|
|
521
523
|
|
|
@@ -242,9 +242,11 @@ class AdapterManager:
|
|
|
242
242
|
|
|
243
243
|
@adapter_logger
|
|
244
244
|
def __load_setup_and_teardown_step_results(self) -> None:
|
|
245
|
-
self.
|
|
246
|
-
|
|
247
|
-
|
|
245
|
+
fixtures = self.__fixture_manager.get_all_items()
|
|
246
|
+
if not fixtures:
|
|
247
|
+
return
|
|
248
|
+
|
|
249
|
+
self.__api_client.update_test_results(fixtures, self.__test_result_map)
|
|
248
250
|
|
|
249
251
|
@adapter_logger
|
|
250
252
|
def __write_tests_after_all(self) -> None:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: testit-python-commons
|
|
3
|
-
Version: 4.2.
|
|
3
|
+
Version: 4.2.8
|
|
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.
|
|
20
|
+
Requires-Dist: testit-api-client==7.5.10
|
|
21
21
|
Dynamic: author
|
|
22
22
|
Dynamic: author-email
|
|
23
23
|
Dynamic: classifier
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/tests/test_app_properties.py
RENAMED
|
File without changes
|
{testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/tests/test_dynamic_methods.py
RENAMED
|
File without changes
|
{testit_python_commons-4.2.7.post570 → testit_python_commons-4.2.8}/tests/test_html_escape_utils.py
RENAMED
|
File without changes
|