testit-python-commons 3.11.0.post560__tar.gz → 3.11.1.post560__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.11.0.post560 → testit_python_commons-3.11.1.post560}/PKG-INFO +1 -1
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/setup.py +1 -1
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/decorators.py +2 -1
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/models/test_result.py +3 -1
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/utils/html_escape_utils.py +2 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons.egg-info/PKG-INFO +1 -1
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/README.md +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/setup.cfg +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/__init__.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/app_properties.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/client/__init__.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/client/api_client.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/client/client_configuration.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/client/converter.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/client/helpers/__init__.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/client/helpers/bulk_autotest_helper.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/client/helpers/threads_manager.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/client/models/__init__.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/client/models/threads_for_create_and_result.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/client/models/threads_for_update_and_result.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/dynamic_methods.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/models/__init__.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/models/adapter_mode.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/models/fixture.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/models/link.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/models/link_type.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/models/outcome_type.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/models/step_result.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/models/test_result_with_all_fixture_step_results_model.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/services/__init__.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/services/adapter_manager.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/services/adapter_manager_configuration.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/services/fixture_manager.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/services/fixture_storage.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/services/logger.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/services/plugin_manager.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/services/retry.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/services/step_manager.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/services/step_result_storage.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/services/utils.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/step.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons/utils/__init__.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons.egg-info/SOURCES.txt +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons.egg-info/dependency_links.txt +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons.egg-info/requires.txt +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/src/testit_python_commons.egg-info/top_level.txt +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/tests/test_app_properties.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/tests/test_dynamic_methods.py +0 -0
- {testit_python_commons-3.11.0.post560 → testit_python_commons-3.11.1.post560}/tests/test_html_escape_utils.py +0 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import asyncio
|
|
2
|
+
import inspect
|
|
2
3
|
import logging
|
|
3
4
|
import types
|
|
4
5
|
from functools import wraps
|
|
@@ -28,7 +29,7 @@ def inner(function):
|
|
|
28
29
|
await function(*args, **kwargs)
|
|
29
30
|
|
|
30
31
|
if isinstance(function, types.FunctionType):
|
|
31
|
-
if
|
|
32
|
+
if inspect.iscoroutinefunction(function):
|
|
32
33
|
return async_wrapper
|
|
33
34
|
|
|
34
35
|
return sync_wrapper
|
|
@@ -34,7 +34,9 @@ class TestResult:
|
|
|
34
34
|
|
|
35
35
|
@adapter_logger
|
|
36
36
|
def set_external_id(self, external_id: str):
|
|
37
|
-
|
|
37
|
+
# don't use escaping for externalId
|
|
38
|
+
# self.__external_id = HtmlEscapeUtils.escape_html_tags(external_id)
|
|
39
|
+
self.__external_id = external_id
|
|
38
40
|
|
|
39
41
|
return self
|
|
40
42
|
|
|
@@ -123,6 +123,8 @@ class HtmlEscapeUtils:
|
|
|
123
123
|
# Skip private/protected attributes and methods
|
|
124
124
|
if attr_name.startswith('_') or callable(getattr(obj, attr_name, None)):
|
|
125
125
|
continue
|
|
126
|
+
if attr_name.startswith("external_id") or attr_name.startswith("externalId"):
|
|
127
|
+
continue
|
|
126
128
|
|
|
127
129
|
try:
|
|
128
130
|
value = getattr(obj, attr_name)
|
|
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
|