testit-python-commons 3.7.0.post540__tar.gz → 3.7.1__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.7.0.post540 → testit_python_commons-3.7.1}/PKG-INFO +12 -2
- testit_python_commons-3.7.1/README.md +16 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/setup.py +2 -2
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/client/api_client.py +4 -1
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/services/plugin_manager.py +4 -2
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons.egg-info/PKG-INFO +12 -2
- testit_python_commons-3.7.1/src/testit_python_commons.egg-info/requires.txt +3 -0
- testit_python_commons-3.7.0.post540/README.md +0 -6
- testit_python_commons-3.7.0.post540/src/testit_python_commons.egg-info/requires.txt +0 -3
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/setup.cfg +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/__init__.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/app_properties.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/client/__init__.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/client/client_configuration.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/client/converter.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/decorators.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/dynamic_methods.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/models/__init__.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/models/adapter_mode.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/models/fixture.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/models/link.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/models/link_type.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/models/outcome_type.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/models/step_result.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/models/test_result.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/models/test_result_with_all_fixture_step_results_model.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/services/__init__.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/services/adapter_manager.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/services/adapter_manager_configuration.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/services/fixture_manager.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/services/fixture_storage.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/services/logger.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/services/retry.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/services/step_manager.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/services/step_result_storage.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/services/utils.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/step.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/utils/__init__.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons/utils/html_escape_utils.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons.egg-info/SOURCES.txt +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons.egg-info/dependency_links.txt +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/src/testit_python_commons.egg-info/top_level.txt +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/tests/test_app_properties.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/tests/test_dynamic_methods.py +0 -0
- {testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/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.7.
|
|
3
|
+
Version: 3.7.1
|
|
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.0.0
|
|
20
|
+
Requires-Dist: testit-api-client==7.0.0
|
|
21
21
|
Dynamic: author
|
|
22
22
|
Dynamic: author-email
|
|
23
23
|
Dynamic: classifier
|
|
@@ -34,3 +34,13 @@ Dynamic: summary
|
|
|
34
34
|
[debug]
|
|
35
35
|
__DEV = true
|
|
36
36
|
```
|
|
37
|
+
|
|
38
|
+
## How to install local modified version?
|
|
39
|
+
```
|
|
40
|
+
cd adapters-python/testit-python-commons
|
|
41
|
+
pip install .
|
|
42
|
+
```
|
|
43
|
+
## How to install version from some branch?
|
|
44
|
+
```
|
|
45
|
+
git+https://github.com/testit-tms/adapters-python.git@develop#subdirectory=testit-python-commons
|
|
46
|
+
```
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# How to enable debug logging?
|
|
2
|
+
1. Add in **connection_config.ini** file from the root directory of the project:
|
|
3
|
+
```
|
|
4
|
+
[debug]
|
|
5
|
+
__DEV = true
|
|
6
|
+
```
|
|
7
|
+
|
|
8
|
+
## How to install local modified version?
|
|
9
|
+
```
|
|
10
|
+
cd adapters-python/testit-python-commons
|
|
11
|
+
pip install .
|
|
12
|
+
```
|
|
13
|
+
## How to install version from some branch?
|
|
14
|
+
```
|
|
15
|
+
git+https://github.com/testit-tms/adapters-python.git@develop#subdirectory=testit-python-commons
|
|
16
|
+
```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from setuptools import find_packages, setup
|
|
2
2
|
|
|
3
|
-
VERSION = "3.7.
|
|
3
|
+
VERSION = "3.7.1"
|
|
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.0.0
|
|
28
|
+
install_requires=['pluggy', 'tomli', 'testit-api-client==7.0.0']
|
|
29
29
|
)
|
|
@@ -348,7 +348,10 @@ class ApiClientWorker:
|
|
|
348
348
|
model = self.__prepare_to_update_autotest(test_result, autotest)
|
|
349
349
|
model = self._escape_html_in_model(model)
|
|
350
350
|
|
|
351
|
-
|
|
351
|
+
try:
|
|
352
|
+
self.__autotest_api.update_auto_test(update_auto_test_request=model)
|
|
353
|
+
except Exception as exc:
|
|
354
|
+
logging.error(f'Cannot update autotest "{test_result.get_autotest_name()}" status: {exc}')
|
|
352
355
|
|
|
353
356
|
logging.debug(f'Autotest "{test_result.get_autotest_name()}" was updated')
|
|
354
357
|
|
|
@@ -58,8 +58,10 @@ class TmsPluginManager:
|
|
|
58
58
|
@classmethod
|
|
59
59
|
def get_logger(cls, debug: bool = False):
|
|
60
60
|
if cls.__logger is None:
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
# Always show WARNING and above (WARNING, ERROR, CRITICAL)
|
|
62
|
+
# Only show DEBUG and INFO when debug mode is enabled
|
|
63
|
+
level = logging.DEBUG if debug else logging.WARNING
|
|
64
|
+
logging.basicConfig(format='\n%(levelname)s (%(asctime)s): %(message)s', level=level)
|
|
63
65
|
|
|
64
66
|
cls.__logger = logging.getLogger('TmsLogger')
|
|
65
67
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: testit-python-commons
|
|
3
|
-
Version: 3.7.
|
|
3
|
+
Version: 3.7.1
|
|
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.0.0
|
|
20
|
+
Requires-Dist: testit-api-client==7.0.0
|
|
21
21
|
Dynamic: author
|
|
22
22
|
Dynamic: author-email
|
|
23
23
|
Dynamic: classifier
|
|
@@ -34,3 +34,13 @@ Dynamic: summary
|
|
|
34
34
|
[debug]
|
|
35
35
|
__DEV = true
|
|
36
36
|
```
|
|
37
|
+
|
|
38
|
+
## How to install local modified version?
|
|
39
|
+
```
|
|
40
|
+
cd adapters-python/testit-python-commons
|
|
41
|
+
pip install .
|
|
42
|
+
```
|
|
43
|
+
## How to install version from some branch?
|
|
44
|
+
```
|
|
45
|
+
git+https://github.com/testit-tms/adapters-python.git@develop#subdirectory=testit-python-commons
|
|
46
|
+
```
|
|
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
|
{testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/tests/test_app_properties.py
RENAMED
|
File without changes
|
{testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/tests/test_dynamic_methods.py
RENAMED
|
File without changes
|
{testit_python_commons-3.7.0.post540 → testit_python_commons-3.7.1}/tests/test_html_escape_utils.py
RENAMED
|
File without changes
|