testit-python-commons 3.3.1__tar.gz → 3.3.2__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-3.3.1 → testit_python_commons-3.3.2}/PKG-INFO +1 -1
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/setup.py +1 -1
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/client/converter.py +6 -3
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/models/test_result.py +11 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons.egg-info/PKG-INFO +1 -1
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/README.md +0 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/setup.cfg +0 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit.py +0 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/__init__.py +0 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/app_properties.py +0 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/client/__init__.py +0 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/client/api_client.py +0 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/client/client_configuration.py +0 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/decorators.py +0 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/dynamic_methods.py +0 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/models/__init__.py +0 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/models/adapter_mode.py +0 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/models/link.py +0 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/models/link_type.py +0 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/models/outcome_type.py +0 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/models/step_result.py +0 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/models/test_result_with_all_fixture_step_results_model.py +0 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/services/__init__.py +0 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/services/adapter_manager.py +0 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/services/adapter_manager_configuration.py +0 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/services/logger.py +0 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/services/plugin_manager.py +0 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/services/retry.py +0 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/services/step_manager.py +0 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/services/step_result_storage.py +0 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/services/utils.py +0 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/step.py +0 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons.egg-info/SOURCES.txt +0 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons.egg-info/dependency_links.txt +0 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons.egg-info/requires.txt +0 -0
- {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons.egg-info/top_level.txt +0 -0
|
@@ -98,7 +98,8 @@ class Converter:
|
|
|
98
98
|
description=test_result.get_description(),
|
|
99
99
|
links=cls.links_to_links_post_model(test_result.get_links()),
|
|
100
100
|
labels=test_result.get_labels(),
|
|
101
|
-
should_create_work_item=test_result.get_automatic_creation_test_cases()
|
|
101
|
+
should_create_work_item=test_result.get_automatic_creation_test_cases(),
|
|
102
|
+
external_key=test_result.get_external_key()
|
|
102
103
|
)
|
|
103
104
|
|
|
104
105
|
@classmethod
|
|
@@ -123,7 +124,8 @@ class Converter:
|
|
|
123
124
|
title=test_result.get_title(),
|
|
124
125
|
description=test_result.get_description(),
|
|
125
126
|
links=cls.links_to_links_put_model(test_result.get_links()),
|
|
126
|
-
labels=test_result.get_labels()
|
|
127
|
+
labels=test_result.get_labels(),
|
|
128
|
+
external_key=test_result.get_external_key()
|
|
127
129
|
)
|
|
128
130
|
else:
|
|
129
131
|
return AutoTestPutModel(
|
|
@@ -141,7 +143,8 @@ class Converter:
|
|
|
141
143
|
title=test_result.get_title(),
|
|
142
144
|
description=test_result.get_description(),
|
|
143
145
|
links=cls.links_to_links_put_model(test_result.get_links()),
|
|
144
|
-
labels=test_result.get_labels()
|
|
146
|
+
labels=test_result.get_labels(),
|
|
147
|
+
external_key=test_result.get_external_key()
|
|
145
148
|
)
|
|
146
149
|
|
|
147
150
|
@classmethod
|
|
@@ -29,6 +29,7 @@ class TestResult:
|
|
|
29
29
|
__parameters: dict = {}
|
|
30
30
|
__properties: dict = {}
|
|
31
31
|
__automatic_creation_test_cases: bool = False
|
|
32
|
+
__external_key: str = None
|
|
32
33
|
|
|
33
34
|
@adapter_logger
|
|
34
35
|
def set_external_id(self, external_id: str):
|
|
@@ -259,3 +260,13 @@ class TestResult:
|
|
|
259
260
|
@adapter_logger
|
|
260
261
|
def get_automatic_creation_test_cases(self) -> bool:
|
|
261
262
|
return self.__automatic_creation_test_cases
|
|
263
|
+
|
|
264
|
+
@adapter_logger
|
|
265
|
+
def set_external_key(self, external_key: str):
|
|
266
|
+
self.__external_key = external_key
|
|
267
|
+
|
|
268
|
+
return self
|
|
269
|
+
|
|
270
|
+
@adapter_logger
|
|
271
|
+
def get_external_key(self) -> str:
|
|
272
|
+
return self.__external_key
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/decorators.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/models/link.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
|
{testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/step.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|