testit-cli 2.9.3__tar.gz → 2.9.4__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_cli-2.9.3 → testit_cli-2.9.4}/PKG-INFO +2 -2
- {testit_cli-2.9.3 → testit_cli-2.9.4}/setup.py +2 -2
- {testit_cli-2.9.3 → testit_cli-2.9.4}/src/testit_cli/apiclient.py +4 -4
- {testit_cli-2.9.3 → testit_cli-2.9.4}/src/testit_cli.egg-info/PKG-INFO +2 -2
- {testit_cli-2.9.3 → testit_cli-2.9.4}/src/testit_cli.egg-info/requires.txt +1 -1
- {testit_cli-2.9.3 → testit_cli-2.9.4}/LICENSE +0 -0
- {testit_cli-2.9.3 → testit_cli-2.9.4}/README.md +0 -0
- {testit_cli-2.9.3 → testit_cli-2.9.4}/setup.cfg +0 -0
- {testit_cli-2.9.3 → testit_cli-2.9.4}/src/testit_cli/__init__.py +0 -0
- {testit_cli-2.9.3 → testit_cli-2.9.4}/src/testit_cli/__main__.py +0 -0
- {testit_cli-2.9.3 → testit_cli-2.9.4}/src/testit_cli/autotests_filter.py +0 -0
- {testit_cli-2.9.3 → testit_cli-2.9.4}/src/testit_cli/click_commands.py +0 -0
- {testit_cli-2.9.3 → testit_cli-2.9.4}/src/testit_cli/converter.py +0 -0
- {testit_cli-2.9.3 → testit_cli-2.9.4}/src/testit_cli/dir_worker.py +0 -0
- {testit_cli-2.9.3 → testit_cli-2.9.4}/src/testit_cli/file_worker.py +0 -0
- {testit_cli-2.9.3 → testit_cli-2.9.4}/src/testit_cli/filter_factory.py +0 -0
- {testit_cli-2.9.3 → testit_cli-2.9.4}/src/testit_cli/html_escape_utils.py +0 -0
- {testit_cli-2.9.3 → testit_cli-2.9.4}/src/testit_cli/http_retry.py +0 -0
- {testit_cli-2.9.3 → testit_cli-2.9.4}/src/testit_cli/importer.py +0 -0
- {testit_cli-2.9.3 → testit_cli-2.9.4}/src/testit_cli/logger.py +0 -0
- {testit_cli-2.9.3 → testit_cli-2.9.4}/src/testit_cli/models/__init__.py +0 -0
- {testit_cli-2.9.3 → testit_cli-2.9.4}/src/testit_cli/models/config.py +0 -0
- {testit_cli-2.9.3 → testit_cli-2.9.4}/src/testit_cli/models/mode.py +0 -0
- {testit_cli-2.9.3 → testit_cli-2.9.4}/src/testit_cli/models/status_type.py +0 -0
- {testit_cli-2.9.3 → testit_cli-2.9.4}/src/testit_cli/models/testcase.py +0 -0
- {testit_cli-2.9.3 → testit_cli-2.9.4}/src/testit_cli/models/testrun.py +0 -0
- {testit_cli-2.9.3 → testit_cli-2.9.4}/src/testit_cli/parser.py +0 -0
- {testit_cli-2.9.3 → testit_cli-2.9.4}/src/testit_cli/service.py +0 -0
- {testit_cli-2.9.3 → testit_cli-2.9.4}/src/testit_cli/service_factory.py +0 -0
- {testit_cli-2.9.3 → testit_cli-2.9.4}/src/testit_cli/validation.py +0 -0
- {testit_cli-2.9.3 → testit_cli-2.9.4}/src/testit_cli.egg-info/SOURCES.txt +0 -0
- {testit_cli-2.9.3 → testit_cli-2.9.4}/src/testit_cli.egg-info/dependency_links.txt +0 -0
- {testit_cli-2.9.3 → testit_cli-2.9.4}/src/testit_cli.egg-info/entry_points.txt +0 -0
- {testit_cli-2.9.3 → testit_cli-2.9.4}/src/testit_cli.egg-info/top_level.txt +0 -0
- {testit_cli-2.9.3 → testit_cli-2.9.4}/tests/test_click.py +0 -0
- {testit_cli-2.9.3 → testit_cli-2.9.4}/tests/test_service.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: testit-cli
|
|
3
|
-
Version: 2.9.
|
|
3
|
+
Version: 2.9.4
|
|
4
4
|
Summary: This tool is the command line wrapper of Test IT allowing you to upload the test results in real time to Test IT
|
|
5
5
|
Home-page: https://pypi.org/project/testit-cli/
|
|
6
6
|
Author: Integration team
|
|
@@ -16,7 +16,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.12
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
License-File: LICENSE
|
|
19
|
-
Requires-Dist: testit-api-client==7.5.
|
|
19
|
+
Requires-Dist: testit-api-client==7.5.11
|
|
20
20
|
Requires-Dist: validators
|
|
21
21
|
Requires-Dist: tqdm
|
|
22
22
|
Requires-Dist: click~=8.0.4
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from setuptools import find_packages, setup
|
|
2
2
|
|
|
3
|
-
VERSION = "2.9.
|
|
3
|
+
VERSION = "2.9.4"
|
|
4
4
|
|
|
5
5
|
setup(
|
|
6
6
|
name='testit-cli',
|
|
@@ -26,7 +26,7 @@ setup(
|
|
|
26
26
|
py_modules=['testit_cli'],
|
|
27
27
|
packages=find_packages(where='src'),
|
|
28
28
|
package_dir={'': 'src'},
|
|
29
|
-
install_requires=['testit-api-client==7.5.
|
|
29
|
+
install_requires=['testit-api-client==7.5.11', 'validators', 'tqdm', 'click~=8.0.4'],
|
|
30
30
|
entry_points={
|
|
31
31
|
'console_scripts': [
|
|
32
32
|
'testit = testit_cli.__main__:console_main'
|
|
@@ -24,7 +24,7 @@ from testit_api_client.models import (
|
|
|
24
24
|
TestResultShortResponse,
|
|
25
25
|
CreateEmptyRequest,
|
|
26
26
|
AutoTestApiResult,
|
|
27
|
-
|
|
27
|
+
DetailedProjectApiResult,
|
|
28
28
|
WorkflowApiResult,
|
|
29
29
|
CreateProjectRequest,
|
|
30
30
|
)
|
|
@@ -245,8 +245,8 @@ class ApiClient:
|
|
|
245
245
|
|
|
246
246
|
return test_results
|
|
247
247
|
|
|
248
|
-
def __get_project(self, project_id: str) ->
|
|
249
|
-
"""Function returns
|
|
248
|
+
def __get_project(self, project_id: str) -> DetailedProjectApiResult:
|
|
249
|
+
"""Function returns DetailedProjectApiResult."""
|
|
250
250
|
return self.__projects_api.get_project_by_id(id=project_id)
|
|
251
251
|
|
|
252
252
|
def __get_workflow_by_id(self, workflow_id: str) -> WorkflowApiResult:
|
|
@@ -255,7 +255,7 @@ class ApiClient:
|
|
|
255
255
|
|
|
256
256
|
def get_status_codes(self, project_id: str) -> typing.List[str]:
|
|
257
257
|
"""Function returns list of statuses from project."""
|
|
258
|
-
project:
|
|
258
|
+
project: DetailedProjectApiResult = self.__get_project(project_id)
|
|
259
259
|
workflow: WorkflowApiResult = self.__get_workflow_by_id(project.workflow_id)
|
|
260
260
|
|
|
261
261
|
return [status.code for status in workflow.statuses]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: testit-cli
|
|
3
|
-
Version: 2.9.
|
|
3
|
+
Version: 2.9.4
|
|
4
4
|
Summary: This tool is the command line wrapper of Test IT allowing you to upload the test results in real time to Test IT
|
|
5
5
|
Home-page: https://pypi.org/project/testit-cli/
|
|
6
6
|
Author: Integration team
|
|
@@ -16,7 +16,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.12
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
License-File: LICENSE
|
|
19
|
-
Requires-Dist: testit-api-client==7.5.
|
|
19
|
+
Requires-Dist: testit-api-client==7.5.11
|
|
20
20
|
Requires-Dist: validators
|
|
21
21
|
Requires-Dist: tqdm
|
|
22
22
|
Requires-Dist: click~=8.0.4
|
|
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
|