testit-python-commons 3.10.5.post550__tar.gz → 3.10.7__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 (51) hide show
  1. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/PKG-INFO +2 -2
  2. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/setup.py +2 -2
  3. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/client/api_client.py +3 -3
  4. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/client/client_configuration.py +5 -4
  5. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/client/helpers/bulk_autotest_helper.py +1 -1
  6. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/services/adapter_manager_configuration.py +2 -2
  7. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons.egg-info/PKG-INFO +2 -2
  8. testit_python_commons-3.10.7/src/testit_python_commons.egg-info/requires.txt +3 -0
  9. testit_python_commons-3.10.5.post550/src/testit_python_commons.egg-info/requires.txt +0 -3
  10. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/README.md +0 -0
  11. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/setup.cfg +0 -0
  12. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit.py +0 -0
  13. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/__init__.py +0 -0
  14. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/app_properties.py +0 -0
  15. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/client/__init__.py +0 -0
  16. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/client/converter.py +0 -0
  17. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/client/helpers/__init__.py +0 -0
  18. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/client/helpers/threads_manager.py +0 -0
  19. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/client/models/__init__.py +0 -0
  20. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/client/models/threads_for_create_and_result.py +0 -0
  21. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/client/models/threads_for_update_and_result.py +0 -0
  22. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/decorators.py +0 -0
  23. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/dynamic_methods.py +0 -0
  24. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/models/__init__.py +0 -0
  25. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/models/adapter_mode.py +0 -0
  26. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/models/fixture.py +0 -0
  27. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/models/link.py +0 -0
  28. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/models/link_type.py +0 -0
  29. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/models/outcome_type.py +0 -0
  30. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/models/step_result.py +0 -0
  31. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/models/test_result.py +0 -0
  32. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/models/test_result_with_all_fixture_step_results_model.py +0 -0
  33. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/services/__init__.py +0 -0
  34. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/services/adapter_manager.py +0 -0
  35. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/services/fixture_manager.py +0 -0
  36. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/services/fixture_storage.py +0 -0
  37. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/services/logger.py +0 -0
  38. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/services/plugin_manager.py +0 -0
  39. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/services/retry.py +0 -0
  40. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/services/step_manager.py +0 -0
  41. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/services/step_result_storage.py +0 -0
  42. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/services/utils.py +0 -0
  43. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/step.py +0 -0
  44. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/utils/__init__.py +0 -0
  45. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons/utils/html_escape_utils.py +0 -0
  46. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons.egg-info/SOURCES.txt +0 -0
  47. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons.egg-info/dependency_links.txt +0 -0
  48. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/src/testit_python_commons.egg-info/top_level.txt +0 -0
  49. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/tests/test_app_properties.py +0 -0
  50. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/tests/test_dynamic_methods.py +0 -0
  51. {testit_python_commons-3.10.5.post550 → testit_python_commons-3.10.7}/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: 3.10.5.post550
3
+ Version: 3.10.7
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.2.0.post550
20
+ Requires-Dist: testit-api-client==7.2.0
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 = "3.10.5.post550"
3
+ VERSION = "3.10.7"
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.2.0.post550']
28
+ install_requires=['pluggy', 'tomli', 'testit-api-client==7.2.0']
29
29
  )
@@ -32,7 +32,7 @@ class ApiClientWorker:
32
32
  def __init__(self, config: ClientConfiguration):
33
33
  api_client_config = self.__get_api_client_configuration(
34
34
  url=config.get_url(),
35
- verify_ssl=config.get_cert_validation() != 'false',
35
+ verify_ssl=config.get_cert_validation(),
36
36
  proxy=config.get_proxy())
37
37
  api_client = self.__get_api_client(api_client_config, config.get_private_token())
38
38
 
@@ -256,7 +256,7 @@ class ApiClientWorker:
256
256
 
257
257
  continue
258
258
 
259
- if self.__config.get_automatic_updation_links_to_test_cases() != 'true':
259
+ if not self.__config.get_automatic_updation_links_to_test_cases():
260
260
  work_item_uuids.append(linked_work_item_uuid)
261
261
 
262
262
  for work_item_id in work_item_ids:
@@ -296,7 +296,7 @@ class ApiClientWorker:
296
296
 
297
297
  continue
298
298
 
299
- if self.__config.get_automatic_updation_links_to_test_cases() != 'false':
299
+ if self.__config.get_automatic_updation_links_to_test_cases():
300
300
  self.__unlink_test_to_work_item(autotest_global_id, linked_work_item_id)
301
301
 
302
302
  for work_item_id in work_item_ids:
@@ -18,8 +18,9 @@ class ClientConfiguration:
18
18
  self.__configuration_id = Utils.uuid_check(app_properties.get('configurationid'))
19
19
  self.__tms_proxy = app_properties.get('tmsproxy')
20
20
  self.__adapter_mode = app_properties.get('adaptermode')
21
- self.__cert_validation = app_properties.get('certvalidation')
22
- self.__automatic_updation_links_to_test_cases = app_properties.get('automaticupdationlinkstotestcases')
21
+ self.__cert_validation = Utils.convert_value_str_to_bool(app_properties.get('certvalidation').lower())
22
+ self.__automatic_updation_links_to_test_cases = Utils.convert_value_str_to_bool(
23
+ app_properties.get('automaticupdationlinkstotestcases').lower())
23
24
 
24
25
  @adapter_logger
25
26
  def get_url(self):
@@ -57,8 +58,8 @@ class ClientConfiguration:
57
58
  def get_mode(self):
58
59
  return self.__adapter_mode
59
60
 
60
- def get_cert_validation(self):
61
+ def get_cert_validation(self) -> bool:
61
62
  return self.__cert_validation
62
63
 
63
- def get_automatic_updation_links_to_test_cases(self):
64
+ def get_automatic_updation_links_to_test_cases(self) -> bool:
64
65
  return self.__automatic_updation_links_to_test_cases
@@ -215,7 +215,7 @@ class BulkAutotestHelper:
215
215
 
216
216
  continue
217
217
 
218
- if self.__automatic_updation_links_to_test_cases != 'false':
218
+ if self.__automatic_updation_links_to_test_cases:
219
219
  self.__unlink_test_to_work_item(autotest_global_id, linked_work_item_id)
220
220
 
221
221
  for work_item_id in work_item_ids:
@@ -12,8 +12,8 @@ class AdapterManagerConfiguration:
12
12
 
13
13
  self.__adapter_mode = app_properties.get('adaptermode', AdapterMode.USE_FILTER)
14
14
  self.__automatic_creation_test_cases = Utils.convert_value_str_to_bool(
15
- app_properties.get('automaticcreationtestcases'))
16
- self.__import_realtime = Utils.convert_value_str_to_bool(app_properties.get('importrealtime'))
15
+ app_properties.get('automaticcreationtestcases').lower())
16
+ self.__import_realtime = Utils.convert_value_str_to_bool(app_properties.get('importrealtime').lower())
17
17
  self.__test_run_name = app_properties.get('testrunname')
18
18
 
19
19
  @adapter_logger
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: testit-python-commons
3
- Version: 3.10.5.post550
3
+ Version: 3.10.7
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.2.0.post550
20
+ Requires-Dist: testit-api-client==7.2.0
21
21
  Dynamic: author
22
22
  Dynamic: author-email
23
23
  Dynamic: classifier
@@ -0,0 +1,3 @@
1
+ pluggy
2
+ tomli
3
+ testit-api-client==7.2.0
@@ -1,3 +0,0 @@
1
- pluggy
2
- tomli
3
- testit-api-client==7.2.0.post550