testit-python-commons 5.1.4__tar.gz → 5.1.5__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-5.1.4 → testit_python_commons-5.1.5}/PKG-INFO +4 -2
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/README.md +3 -1
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/setup.py +1 -1
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/client/api_client.py +36 -85
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/services/adapter_manager.py +7 -4
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons.egg-info/PKG-INFO +4 -2
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/setup.cfg +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/__init__.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/api/__init__.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/api/attachments_api.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/api/auto_tests_api.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/api/configurations_api.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/api/custom_attributes_api.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/api/parameters_api.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/api/project_attributes_api.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/api/project_sections_api.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/api/project_work_items_api.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/api/projects_api.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/api/sections_api.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/api/test_results_api.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/api/test_runs_api.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/api/work_items_api.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/api/workflows_api.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/api_client.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/apis/__init__.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/configuration.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/exceptions.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/__init__.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/adapters_auto_tests_id_work_items_post_request.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/adapters_auto_tests_post_request.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/adapters_auto_tests_put_request.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/adapters_auto_tests_search_post_request.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/adapters_configurations_search_post_request.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/adapters_custom_attributes_global_id_put_request.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/adapters_custom_attributes_global_post_request.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/adapters_custom_attributes_search_post_request.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/adapters_parameters_post_request.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/adapters_parameters_search_post_request.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/adapters_projects_post_request.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/adapters_projects_project_id_attributes_put_request.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/adapters_projects_project_id_attributes_search_post_request.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/adapters_projects_project_id_work_items_search_post_request.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/adapters_projects_search_post_request.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/adapters_sections_post_request.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/adapters_test_results_id_put_request.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/adapters_test_results_search_post_request.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/adapters_test_runs_id_reruns_post_request.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/adapters_test_runs_post_request.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/adapters_test_runs_put_request.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/adapters_work_items_post_request.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/assign_attachment_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/assign_auto_test_case_id_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/assign_iteration_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/attachment_api_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/attachment_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/attachment_put_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/attachment_put_model_auto_test_step_results_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/attachment_update_request.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/auto_test.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/auto_test_api_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/auto_test_api_result_layer.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/auto_test_case_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/auto_test_create_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/auto_test_create_api_model_layer.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/auto_test_filter_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/auto_test_id_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/auto_test_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/auto_test_model_last_test_result_configuration.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/auto_test_model_last_test_result_status.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/auto_test_result_reason_short.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/auto_test_results_for_test_run_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/auto_test_search_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/auto_test_search_api_model_filter.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/auto_test_search_api_model_includes.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/auto_test_search_include_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/auto_test_step.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/auto_test_step_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/auto_test_step_api_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/auto_test_step_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/auto_test_step_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/auto_test_step_result_update_request.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/auto_test_update_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/auto_test_work_item_identifier_api_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/available_test_result_outcome.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/configuration_filter_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/configuration_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/configuration_short_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/create_empty_test_run_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/create_link_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/create_parameter_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/create_project_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/create_step_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/create_work_item_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/custom_attribute_api_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/custom_attribute_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/custom_attribute_option_api_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/custom_attribute_option_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/custom_attribute_option_post_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/custom_attribute_option_update_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/custom_attribute_put_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/custom_attribute_search_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/custom_attribute_search_api_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/custom_attribute_type.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/custom_attribute_types_enum.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/date_time_range_selector_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/deletion_state.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/detailed_project_api_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/detailed_project_api_result_workflow.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/failure_category_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/global_custom_attribute_post_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/global_custom_attribute_update_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/guid_extraction_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/image_resize_type.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/int32_range_selector_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/int64_range_selector_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/iteration_api_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/iteration_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/label_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/label_api_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/label_short_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/layer_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/layer_api_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/layer_source.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/link_api_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/link_create_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/link_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/link_post_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/link_put_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/link_short_api_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/link_type.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/link_update_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/manual_rerun_api_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/manual_rerun_select_test_results_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/manual_rerun_select_test_results_api_model_extraction_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/manual_rerun_select_test_results_api_model_filter.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/manual_rerun_test_result_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/manual_rerun_test_result_api_model_test_result_ids.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/operation.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/parameter_api_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/parameter_iteration_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/parameter_short_api_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/parameter_short_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/parameters_filter_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/problem_details.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/project_api_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/project_attributes_filter_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/project_shortest_api_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/project_type_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/projects_filter_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/projects_filter_model_autotests_count.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/projects_filter_model_checklists_count.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/projects_filter_model_created_date.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/projects_filter_model_shared_steps_count.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/projects_filter_model_test_cases_count.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/section_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/section_post_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/section_shared_step.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/section_with_steps_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/shared_step_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/shared_step_result_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/step_comment_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/step_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/step_post_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/step_result_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/tag_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/test_result_link_api_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/test_result_outcome.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/test_result_response.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/test_result_short_response.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/test_result_short_response_status.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/test_result_step_comment_update_request.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/test_result_update_request.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/test_results_filter_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/test_results_filter_api_model_duration.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/test_run_api_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/test_run_api_result_status.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/test_run_state.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/test_status_api_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/test_status_api_type.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/test_status_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/test_status_type.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/update_empty_test_run_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/update_link_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/validation_problem_details.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/work_item_api_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/work_item_entity_type_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/work_item_filter_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/work_item_filter_api_model_duration.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/work_item_id_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/work_item_parameter_key_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/work_item_parameter_key_api_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/work_item_priority_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/work_item_priority_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/work_item_select_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/work_item_select_api_model_filter.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/work_item_short_api_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/work_item_source_type_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/work_item_state_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/work_item_states.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/work_item_type_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/workflow_api_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/workflow_status_api_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model_utils.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/models/__init__.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/rest.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/api_client_syncstorage/__init__.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/api_client_syncstorage/api/__init__.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/api_client_syncstorage/api/completion_api.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/api_client_syncstorage/api/health_api.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/api_client_syncstorage/api/system_api.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/api_client_syncstorage/api/test_results_api.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/api_client_syncstorage/api/workers_api.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/api_client_syncstorage/api_client.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/api_client_syncstorage/apis/__init__.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/api_client_syncstorage/configuration.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/api_client_syncstorage/exceptions.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/api_client_syncstorage/model/__init__.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/api_client_syncstorage/model/completion_response.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/api_client_syncstorage/model/health_status_response.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/api_client_syncstorage/model/register_request.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/api_client_syncstorage/model/register_response.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/api_client_syncstorage/model/set_worker_status_request.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/api_client_syncstorage/model/set_worker_status_response.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/api_client_syncstorage/model/shutdown_response.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/api_client_syncstorage/model/test_result_cut_api_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/api_client_syncstorage/model/test_result_save_response.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/api_client_syncstorage/model_utils.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/api_client_syncstorage/models/__init__.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/api_client_syncstorage/rest.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/__init__.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/app_properties.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/client/__init__.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/client/client_configuration.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/client/converter.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/client/helpers/__init__.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/client/helpers/bulk_autotest_helper.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/client/helpers/test_result_matching.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/client/helpers/threads_manager.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/client/models/__init__.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/client/models/threads_for_create_and_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/client/models/threads_for_update_and_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/configurations/__init__.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/configurations/properties_names.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/decorators.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/dynamic_methods.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/models/__init__.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/models/adapter_mode.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/models/fixture.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/models/link.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/models/link_type.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/models/outcome_type.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/models/status_type.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/models/step_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/models/test_result.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/models/test_result_with_all_fixture_step_results_model.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/services/__init__.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/services/adapter_manager_configuration.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/services/fixture_manager.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/services/fixture_storage.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/services/logger.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/services/plugin_manager.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/services/retry.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/services/step_manager.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/services/step_result_storage.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/services/sync_storage/__init__.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/services/sync_storage/sync_storage_runner.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/services/test_run_metadata.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/services/utils.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/step.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/utils/__init__.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons/utils/html_escape_utils.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons.egg-info/SOURCES.txt +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons.egg-info/dependency_links.txt +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons.egg-info/requires.txt +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/testit_python_commons.egg-info/top_level.txt +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/tests/test_app_properties.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/tests/test_dynamic_methods.py +0 -0
- {testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/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: 5.1.
|
|
3
|
+
Version: 5.1.5
|
|
4
4
|
Summary: Python commons for Test IT
|
|
5
5
|
Home-page: https://github.com/testit-tms/adapters-python/
|
|
6
6
|
Author: Integration team
|
|
@@ -33,7 +33,9 @@ Dynamic: summary
|
|
|
33
33
|
|
|
34
34
|
This library includes built-in support for Sync Storage, enabling coordinated test execution across multiple workers in distributed testing environments.
|
|
35
35
|
|
|
36
|
-
See [
|
|
36
|
+
See [sync-storage-interaction-spec.md](sync-storage-interaction-spec.md) for the protocol.
|
|
37
|
+
|
|
38
|
+
**Test result export (POST vs PUT):** [../docs/test-result-export-contract.md](../docs/test-result-export-contract.md)
|
|
37
39
|
|
|
38
40
|
# How to enable debug logging?
|
|
39
41
|
1. Add in **connection_config.ini** file from the root directory of the project:
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
This library includes built-in support for Sync Storage, enabling coordinated test execution across multiple workers in distributed testing environments.
|
|
4
4
|
|
|
5
|
-
See [
|
|
5
|
+
See [sync-storage-interaction-spec.md](sync-storage-interaction-spec.md) for the protocol.
|
|
6
|
+
|
|
7
|
+
**Test result export (POST vs PUT):** [../docs/test-result-export-contract.md](../docs/test-result-export-contract.md)
|
|
6
8
|
|
|
7
9
|
# How to enable debug logging?
|
|
8
10
|
1. Add in **connection_config.ini** file from the root directory of the project:
|
|
@@ -30,7 +30,6 @@ from adapters_api.models import (
|
|
|
30
30
|
from testit_python_commons.client.client_configuration import ClientConfiguration
|
|
31
31
|
from testit_python_commons.client.converter import Converter
|
|
32
32
|
from testit_python_commons.client.helpers.bulk_autotest_helper import BulkAutotestHelper
|
|
33
|
-
from testit_python_commons.client.helpers.test_result_matching import pick_best_in_progress_id
|
|
34
33
|
from typing import List
|
|
35
34
|
|
|
36
35
|
from testit_python_commons.models.link import Link
|
|
@@ -63,7 +62,6 @@ class ApiClientWorker:
|
|
|
63
62
|
self.__workflows_api = WorkflowsApi(api_client=api_client)
|
|
64
63
|
self.__config = config
|
|
65
64
|
self.__status_codes = self.__get_status_codes()
|
|
66
|
-
self.__claimed_in_progress_ids = set()
|
|
67
65
|
|
|
68
66
|
@staticmethod
|
|
69
67
|
@adapter_logger
|
|
@@ -263,15 +261,34 @@ class ApiClientWorker:
|
|
|
263
261
|
|
|
264
262
|
@adapter_logger
|
|
265
263
|
@retry
|
|
266
|
-
def write_tests(
|
|
264
|
+
def write_tests(
|
|
265
|
+
self,
|
|
266
|
+
test_results: List[TestResult],
|
|
267
|
+
fixture_containers: dict,
|
|
268
|
+
finalized_external_ids: set = None) -> None:
|
|
267
269
|
logging.debug("call __write_tests")
|
|
270
|
+
finalized_external_ids = finalized_external_ids or set()
|
|
268
271
|
bulk_autotest_helper = BulkAutotestHelper(self.__autotest_api, self.__test_run_api, self.__config)
|
|
269
272
|
create_count = 0
|
|
270
273
|
update_count = 0
|
|
274
|
+
skip_count = 0
|
|
271
275
|
tests_to_link_after_create = []
|
|
272
276
|
|
|
273
277
|
for test_result in test_results:
|
|
274
278
|
test_result = self.__add_fixtures_to_test_result(test_result, fixture_containers)
|
|
279
|
+
external_id = test_result.get_external_id()
|
|
280
|
+
|
|
281
|
+
if external_id in finalized_external_ids:
|
|
282
|
+
skip_count += 1
|
|
283
|
+
logging.info(
|
|
284
|
+
'Bulk import: skip sendTestResults for %s (already finalized at test finish)',
|
|
285
|
+
external_id,
|
|
286
|
+
)
|
|
287
|
+
autotests = self.__get_autotests_by_external_id(external_id)
|
|
288
|
+
if autotests:
|
|
289
|
+
self.__update_auto_test(test_result, autotests[0])
|
|
290
|
+
continue
|
|
291
|
+
|
|
275
292
|
should_create_work_item = test_result.get_automatic_creation_test_cases()
|
|
276
293
|
|
|
277
294
|
test_result_model = Converter.test_result_to_testrun_result_post_model(
|
|
@@ -317,9 +334,10 @@ class ApiClientWorker:
|
|
|
317
334
|
tests_to_link_after_create.append(test_result)
|
|
318
335
|
|
|
319
336
|
logging.info(
|
|
320
|
-
"Bulk write summary: create=%d, update=%d, total=%d",
|
|
337
|
+
"Bulk write summary: create=%d, update=%d, skip=%d, total=%d",
|
|
321
338
|
create_count,
|
|
322
339
|
update_count,
|
|
340
|
+
skip_count,
|
|
323
341
|
len(test_results),
|
|
324
342
|
)
|
|
325
343
|
bulk_autotest_helper.teardown()
|
|
@@ -536,87 +554,9 @@ class ApiClientWorker:
|
|
|
536
554
|
|
|
537
555
|
logging.debug(f'Autotest was linked with workItem "{work_item_id}" by global id "{autotest_global_id}')
|
|
538
556
|
|
|
539
|
-
@adapter_logger
|
|
540
|
-
def find_in_progress_test_result_id(self, external_id: str, parameters=None):
|
|
541
|
-
if not external_id:
|
|
542
|
-
return None
|
|
543
|
-
|
|
544
|
-
candidates = []
|
|
545
|
-
for item in self.__get_test_results():
|
|
546
|
-
if item is None:
|
|
547
|
-
continue
|
|
548
|
-
if getattr(item, "autotest_external_id", None) != external_id:
|
|
549
|
-
continue
|
|
550
|
-
result_id = getattr(item, "id", None)
|
|
551
|
-
if result_id is None:
|
|
552
|
-
continue
|
|
553
|
-
result_id_str = str(result_id)
|
|
554
|
-
if result_id_str in self.__claimed_in_progress_ids:
|
|
555
|
-
continue
|
|
556
|
-
try:
|
|
557
|
-
detail = self.get_test_result_by_id(result_id_str)
|
|
558
|
-
test_point_id = getattr(detail, "test_point_id", None)
|
|
559
|
-
parameters_meta = getattr(detail, "parameters", None) or {}
|
|
560
|
-
except Exception as exc:
|
|
561
|
-
logging.debug("getTestResult %s failed: %s", result_id_str, exc)
|
|
562
|
-
test_point_id = None
|
|
563
|
-
parameters_meta = {}
|
|
564
|
-
candidates.append({
|
|
565
|
-
"id": result_id_str,
|
|
566
|
-
"has_test_point": self.__is_valid_test_point_id(test_point_id),
|
|
567
|
-
"parameters": parameters_meta,
|
|
568
|
-
})
|
|
569
|
-
|
|
570
|
-
chosen = pick_best_in_progress_id(candidates, parameters)
|
|
571
|
-
if chosen:
|
|
572
|
-
self.__claimed_in_progress_ids.add(chosen)
|
|
573
|
-
return chosen
|
|
574
|
-
|
|
575
|
-
@staticmethod
|
|
576
|
-
def __is_valid_test_point_id(test_point_id) -> bool:
|
|
577
|
-
if test_point_id is None:
|
|
578
|
-
return False
|
|
579
|
-
value = str(test_point_id)
|
|
580
|
-
return bool(value) and value != "00000000-0000-0000-0000-000000000000"
|
|
581
|
-
|
|
582
|
-
@adapter_logger
|
|
583
|
-
@retry
|
|
584
|
-
def __update_existing_test_result(self, test_result_id: str, test_result: TestResult) -> str:
|
|
585
|
-
existing = self.get_test_result_by_id(test_result_id)
|
|
586
|
-
model = Converter.convert_test_result_model_to_test_results_id_put_request(existing)
|
|
587
|
-
|
|
588
|
-
outcome = test_result.get_outcome()
|
|
589
|
-
if outcome and outcome.upper() in self.__status_codes:
|
|
590
|
-
model.status_code = outcome
|
|
591
|
-
|
|
592
|
-
if test_result.get_duration() is not None:
|
|
593
|
-
model.duration_in_ms = round(test_result.get_duration())
|
|
594
|
-
if test_result.get_message() is not None:
|
|
595
|
-
model.message = test_result.get_message()
|
|
596
|
-
if test_result.get_traces() is not None:
|
|
597
|
-
model.trace = test_result.get_traces()
|
|
598
|
-
|
|
599
|
-
self.__test_results_api.adapters_test_results_id_put(
|
|
600
|
-
id=test_result_id,
|
|
601
|
-
adapters_test_results_id_put_request=model,
|
|
602
|
-
)
|
|
603
|
-
logging.debug(
|
|
604
|
-
'Updated existing test result "%s" for autotest "%s"',
|
|
605
|
-
test_result_id,
|
|
606
|
-
test_result.get_autotest_name(),
|
|
607
|
-
)
|
|
608
|
-
return test_result_id
|
|
609
|
-
|
|
610
557
|
@adapter_logger
|
|
611
558
|
@retry
|
|
612
559
|
def __load_test_result(self, test_result: TestResult) -> str:
|
|
613
|
-
existing_id = self.find_in_progress_test_result_id(
|
|
614
|
-
test_result.get_external_id(),
|
|
615
|
-
test_result.get_parameters(),
|
|
616
|
-
)
|
|
617
|
-
if existing_id:
|
|
618
|
-
return self.__update_existing_test_result(existing_id, test_result)
|
|
619
|
-
|
|
620
560
|
model = Converter.test_result_to_testrun_result_post_model(
|
|
621
561
|
test_result,
|
|
622
562
|
self.__config.get_configuration_id(),
|
|
@@ -626,10 +566,19 @@ class ApiClientWorker:
|
|
|
626
566
|
id=self.__config.get_test_run_id(),
|
|
627
567
|
auto_test_results_for_test_run_model=[model])
|
|
628
568
|
|
|
629
|
-
|
|
630
|
-
|
|
569
|
+
test_result_id = Converter.get_test_result_id_from_testrun_result_post_response(response)
|
|
570
|
+
logging.debug(
|
|
571
|
+
'Finalized test result via sendTestResults for %s (resultId=%s)',
|
|
572
|
+
test_result.get_external_id(),
|
|
573
|
+
test_result_id,
|
|
574
|
+
)
|
|
575
|
+
logging.debug(
|
|
576
|
+
'Result of the autotest "%s" was set in the test run "%s"',
|
|
577
|
+
test_result.get_autotest_name(),
|
|
578
|
+
self.__config.get_test_run_id(),
|
|
579
|
+
)
|
|
631
580
|
|
|
632
|
-
return
|
|
581
|
+
return test_result_id
|
|
633
582
|
|
|
634
583
|
@adapter_logger
|
|
635
584
|
@retry
|
|
@@ -638,6 +587,8 @@ class ApiClientWorker:
|
|
|
638
587
|
|
|
639
588
|
@adapter_logger
|
|
640
589
|
def update_test_results(self, fixtures_containers: dict, test_result_ids: dict) -> None:
|
|
590
|
+
# PUT only setup/teardown fixtures — never status or step_results.
|
|
591
|
+
# See docs/test-result-export-contract.md
|
|
641
592
|
test_results = Converter.fixtures_containers_to_test_results_with_all_fixture_step_results(
|
|
642
593
|
fixtures_containers, test_result_ids)
|
|
643
594
|
|
|
@@ -189,10 +189,9 @@ class AdapterManager:
|
|
|
189
189
|
self.__sync_storage_runner.set_is_already_in_progress(True)
|
|
190
190
|
|
|
191
191
|
try:
|
|
192
|
-
#
|
|
193
|
-
# never invent a second InProgress via setAutoTestResultsForTestRun.
|
|
192
|
+
# Final status via sendTestResults (create); never change status via PUT.
|
|
194
193
|
logging.debug(
|
|
195
|
-
"SyncStorage accepted %s;
|
|
194
|
+
"SyncStorage accepted %s; sendTestResults with final status",
|
|
196
195
|
test_result.get_external_id(),
|
|
197
196
|
)
|
|
198
197
|
self._write_test_realtime_internal(test_result)
|
|
@@ -263,7 +262,11 @@ class AdapterManager:
|
|
|
263
262
|
for test_result in self.__test_results:
|
|
264
263
|
test_result.set_automatic_creation_test_cases(should_create_work_item)
|
|
265
264
|
|
|
266
|
-
self.__api_client.write_tests(
|
|
265
|
+
self.__api_client.write_tests(
|
|
266
|
+
self.__test_results,
|
|
267
|
+
fixtures,
|
|
268
|
+
finalized_external_ids=set(self.__test_result_map.keys()),
|
|
269
|
+
)
|
|
267
270
|
|
|
268
271
|
@adapter_logger
|
|
269
272
|
def load_attachments(self, attach_paths):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: testit-python-commons
|
|
3
|
-
Version: 5.1.
|
|
3
|
+
Version: 5.1.5
|
|
4
4
|
Summary: Python commons for Test IT
|
|
5
5
|
Home-page: https://github.com/testit-tms/adapters-python/
|
|
6
6
|
Author: Integration team
|
|
@@ -33,7 +33,9 @@ Dynamic: summary
|
|
|
33
33
|
|
|
34
34
|
This library includes built-in support for Sync Storage, enabling coordinated test execution across multiple workers in distributed testing environments.
|
|
35
35
|
|
|
36
|
-
See [
|
|
36
|
+
See [sync-storage-interaction-spec.md](sync-storage-interaction-spec.md) for the protocol.
|
|
37
|
+
|
|
38
|
+
**Test result export (POST vs PUT):** [../docs/test-result-export-contract.md](../docs/test-result-export-contract.md)
|
|
37
39
|
|
|
38
40
|
# How to enable debug logging?
|
|
39
41
|
1. Add in **connection_config.ini** file from the root directory of the project:
|
|
File without changes
|
|
File without changes
|
{testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/api/__init__.py
RENAMED
|
File without changes
|
{testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/api/attachments_api.py
RENAMED
|
File without changes
|
{testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/api/auto_tests_api.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/api/parameters_api.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/api/projects_api.py
RENAMED
|
File without changes
|
{testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/api/sections_api.py
RENAMED
|
File without changes
|
{testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/api/test_results_api.py
RENAMED
|
File without changes
|
{testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/api/test_runs_api.py
RENAMED
|
File without changes
|
{testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/api/work_items_api.py
RENAMED
|
File without changes
|
{testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/api/workflows_api.py
RENAMED
|
File without changes
|
|
File without changes
|
{testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/apis/__init__.py
RENAMED
|
File without changes
|
{testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/configuration.py
RENAMED
|
File without changes
|
|
File without changes
|
{testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/__init__.py
RENAMED
|
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-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/auto_test.py
RENAMED
|
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-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/auto_test_step.py
RENAMED
|
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-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/deletion_state.py
RENAMED
|
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-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/layer_source.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/link_model.py
RENAMED
|
File without changes
|
|
File without changes
|
{testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/link_put_model.py
RENAMED
|
File without changes
|
|
File without changes
|
{testit_python_commons-5.1.4 → testit_python_commons-5.1.5}/src/adapters_api/model/link_type.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|