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.
Files changed (36) hide show
  1. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/PKG-INFO +1 -1
  2. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/setup.py +1 -1
  3. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/client/converter.py +6 -3
  4. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/models/test_result.py +11 -0
  5. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons.egg-info/PKG-INFO +1 -1
  6. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/README.md +0 -0
  7. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/setup.cfg +0 -0
  8. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit.py +0 -0
  9. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/__init__.py +0 -0
  10. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/app_properties.py +0 -0
  11. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/client/__init__.py +0 -0
  12. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/client/api_client.py +0 -0
  13. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/client/client_configuration.py +0 -0
  14. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/decorators.py +0 -0
  15. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/dynamic_methods.py +0 -0
  16. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/models/__init__.py +0 -0
  17. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/models/adapter_mode.py +0 -0
  18. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/models/link.py +0 -0
  19. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/models/link_type.py +0 -0
  20. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/models/outcome_type.py +0 -0
  21. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/models/step_result.py +0 -0
  22. {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
  23. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/services/__init__.py +0 -0
  24. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/services/adapter_manager.py +0 -0
  25. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/services/adapter_manager_configuration.py +0 -0
  26. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/services/logger.py +0 -0
  27. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/services/plugin_manager.py +0 -0
  28. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/services/retry.py +0 -0
  29. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/services/step_manager.py +0 -0
  30. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/services/step_result_storage.py +0 -0
  31. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/services/utils.py +0 -0
  32. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons/step.py +0 -0
  33. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons.egg-info/SOURCES.txt +0 -0
  34. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons.egg-info/dependency_links.txt +0 -0
  35. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons.egg-info/requires.txt +0 -0
  36. {testit_python_commons-3.3.1 → testit_python_commons-3.3.2}/src/testit_python_commons.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: testit-python-commons
3
- Version: 3.3.1
3
+ Version: 3.3.2
4
4
  Summary: Python commons for Test IT
5
5
  Home-page: https://github.com/testit-tms/adapters-python/
6
6
  Author: Integration team
@@ -2,7 +2,7 @@ from setuptools import find_packages, setup
2
2
 
3
3
  setup(
4
4
  name='testit-python-commons',
5
- version='3.3.1',
5
+ version='3.3.2',
6
6
  description='Python commons for Test IT',
7
7
  long_description=open('README.md', "r").read(),
8
8
  long_description_content_type="text/markdown",
@@ -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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: testit-python-commons
3
- Version: 3.3.1
3
+ Version: 3.3.2
4
4
  Summary: Python commons for Test IT
5
5
  Home-page: https://github.com/testit-tms/adapters-python/
6
6
  Author: Integration team