testit-cli 2.1.2__tar.gz → 2.1.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.1.2 → testit_cli-2.1.4}/PKG-INFO +1 -1
- {testit_cli-2.1.2 → testit_cli-2.1.4}/setup.py +1 -1
- {testit_cli-2.1.2 → testit_cli-2.1.4}/src/testit_cli/apiclient.py +7 -6
- {testit_cli-2.1.2 → testit_cli-2.1.4}/src/testit_cli/importer.py +1 -1
- {testit_cli-2.1.2 → testit_cli-2.1.4}/src/testit_cli.egg-info/PKG-INFO +1 -1
- {testit_cli-2.1.2 → testit_cli-2.1.4}/LICENSE +0 -0
- {testit_cli-2.1.2 → testit_cli-2.1.4}/README.md +0 -0
- {testit_cli-2.1.2 → testit_cli-2.1.4}/setup.cfg +0 -0
- {testit_cli-2.1.2 → testit_cli-2.1.4}/src/testit_cli/__init__.py +0 -0
- {testit_cli-2.1.2 → testit_cli-2.1.4}/src/testit_cli/__main__.py +0 -0
- {testit_cli-2.1.2 → testit_cli-2.1.4}/src/testit_cli/autotests_filter.py +0 -0
- {testit_cli-2.1.2 → testit_cli-2.1.4}/src/testit_cli/click_commands.py +0 -0
- {testit_cli-2.1.2 → testit_cli-2.1.4}/src/testit_cli/converter.py +0 -0
- {testit_cli-2.1.2 → testit_cli-2.1.4}/src/testit_cli/dir_worker.py +0 -0
- {testit_cli-2.1.2 → testit_cli-2.1.4}/src/testit_cli/file_worker.py +0 -0
- {testit_cli-2.1.2 → testit_cli-2.1.4}/src/testit_cli/filter_factory.py +0 -0
- {testit_cli-2.1.2 → testit_cli-2.1.4}/src/testit_cli/logger.py +0 -0
- {testit_cli-2.1.2 → testit_cli-2.1.4}/src/testit_cli/models/__init__.py +0 -0
- {testit_cli-2.1.2 → testit_cli-2.1.4}/src/testit_cli/models/config.py +0 -0
- {testit_cli-2.1.2 → testit_cli-2.1.4}/src/testit_cli/models/mode.py +0 -0
- {testit_cli-2.1.2 → testit_cli-2.1.4}/src/testit_cli/models/status.py +0 -0
- {testit_cli-2.1.2 → testit_cli-2.1.4}/src/testit_cli/models/testcase.py +0 -0
- {testit_cli-2.1.2 → testit_cli-2.1.4}/src/testit_cli/models/testrun.py +0 -0
- {testit_cli-2.1.2 → testit_cli-2.1.4}/src/testit_cli/parser.py +0 -0
- {testit_cli-2.1.2 → testit_cli-2.1.4}/src/testit_cli/service.py +0 -0
- {testit_cli-2.1.2 → testit_cli-2.1.4}/src/testit_cli/service_factory.py +0 -0
- {testit_cli-2.1.2 → testit_cli-2.1.4}/src/testit_cli/validation.py +0 -0
- {testit_cli-2.1.2 → testit_cli-2.1.4}/src/testit_cli.egg-info/SOURCES.txt +0 -0
- {testit_cli-2.1.2 → testit_cli-2.1.4}/src/testit_cli.egg-info/dependency_links.txt +0 -0
- {testit_cli-2.1.2 → testit_cli-2.1.4}/src/testit_cli.egg-info/entry_points.txt +0 -0
- {testit_cli-2.1.2 → testit_cli-2.1.4}/src/testit_cli.egg-info/requires.txt +0 -0
- {testit_cli-2.1.2 → testit_cli-2.1.4}/src/testit_cli.egg-info/top_level.txt +0 -0
- {testit_cli-2.1.2 → testit_cli-2.1.4}/tests/test_click.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: testit-cli
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.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
|
|
@@ -2,7 +2,7 @@ from setuptools import find_packages, setup
|
|
|
2
2
|
|
|
3
3
|
setup(
|
|
4
4
|
name='testit-cli',
|
|
5
|
-
version='2.1.
|
|
5
|
+
version='2.1.4',
|
|
6
6
|
description='This tool is the command line wrapper of Test IT allowing you to upload the test results in real time '
|
|
7
7
|
'to Test IT',
|
|
8
8
|
long_description=open('README.md', "r").read(),
|
|
@@ -125,14 +125,15 @@ class ApiClient:
|
|
|
125
125
|
|
|
126
126
|
for attachment in attachments:
|
|
127
127
|
if os.path.isfile(attachment):
|
|
128
|
-
|
|
129
|
-
|
|
128
|
+
with open(attachment, "rb+") as file:
|
|
129
|
+
try:
|
|
130
|
+
attachment_response = self.__attachments_api.api_v2_attachments_post(file=(file.name, file.read()))
|
|
130
131
|
|
|
131
|
-
|
|
132
|
+
attachment_ids.append(AttachmentPutModel(id=attachment_response.id))
|
|
132
133
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
logging.debug(f'Attachment "{attachment}" was uploaded')
|
|
135
|
+
except Exception as exc:
|
|
136
|
+
logging.error(f'Upload attachment "{attachment}" status: {exc}')
|
|
136
137
|
else:
|
|
137
138
|
logging.error(f'File "{attachment}" was not found!')
|
|
138
139
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: testit-cli
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.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
|
|
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
|