testit-cli 2.4.8__tar.gz → 2.4.9__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 (34) hide show
  1. {testit_cli-2.4.8 → testit_cli-2.4.9}/PKG-INFO +2 -2
  2. {testit_cli-2.4.8 → testit_cli-2.4.9}/setup.py +2 -2
  3. {testit_cli-2.4.8 → testit_cli-2.4.9}/src/testit_cli/apiclient.py +7 -8
  4. {testit_cli-2.4.8 → testit_cli-2.4.9}/src/testit_cli.egg-info/PKG-INFO +2 -2
  5. {testit_cli-2.4.8 → testit_cli-2.4.9}/src/testit_cli.egg-info/requires.txt +1 -1
  6. {testit_cli-2.4.8 → testit_cli-2.4.9}/LICENSE +0 -0
  7. {testit_cli-2.4.8 → testit_cli-2.4.9}/README.md +0 -0
  8. {testit_cli-2.4.8 → testit_cli-2.4.9}/setup.cfg +0 -0
  9. {testit_cli-2.4.8 → testit_cli-2.4.9}/src/testit_cli/__init__.py +0 -0
  10. {testit_cli-2.4.8 → testit_cli-2.4.9}/src/testit_cli/__main__.py +0 -0
  11. {testit_cli-2.4.8 → testit_cli-2.4.9}/src/testit_cli/autotests_filter.py +0 -0
  12. {testit_cli-2.4.8 → testit_cli-2.4.9}/src/testit_cli/click_commands.py +0 -0
  13. {testit_cli-2.4.8 → testit_cli-2.4.9}/src/testit_cli/converter.py +0 -0
  14. {testit_cli-2.4.8 → testit_cli-2.4.9}/src/testit_cli/dir_worker.py +0 -0
  15. {testit_cli-2.4.8 → testit_cli-2.4.9}/src/testit_cli/file_worker.py +0 -0
  16. {testit_cli-2.4.8 → testit_cli-2.4.9}/src/testit_cli/filter_factory.py +0 -0
  17. {testit_cli-2.4.8 → testit_cli-2.4.9}/src/testit_cli/importer.py +0 -0
  18. {testit_cli-2.4.8 → testit_cli-2.4.9}/src/testit_cli/logger.py +0 -0
  19. {testit_cli-2.4.8 → testit_cli-2.4.9}/src/testit_cli/models/__init__.py +0 -0
  20. {testit_cli-2.4.8 → testit_cli-2.4.9}/src/testit_cli/models/config.py +0 -0
  21. {testit_cli-2.4.8 → testit_cli-2.4.9}/src/testit_cli/models/mode.py +0 -0
  22. {testit_cli-2.4.8 → testit_cli-2.4.9}/src/testit_cli/models/status.py +0 -0
  23. {testit_cli-2.4.8 → testit_cli-2.4.9}/src/testit_cli/models/testcase.py +0 -0
  24. {testit_cli-2.4.8 → testit_cli-2.4.9}/src/testit_cli/models/testrun.py +0 -0
  25. {testit_cli-2.4.8 → testit_cli-2.4.9}/src/testit_cli/parser.py +0 -0
  26. {testit_cli-2.4.8 → testit_cli-2.4.9}/src/testit_cli/service.py +0 -0
  27. {testit_cli-2.4.8 → testit_cli-2.4.9}/src/testit_cli/service_factory.py +0 -0
  28. {testit_cli-2.4.8 → testit_cli-2.4.9}/src/testit_cli/validation.py +0 -0
  29. {testit_cli-2.4.8 → testit_cli-2.4.9}/src/testit_cli.egg-info/SOURCES.txt +0 -0
  30. {testit_cli-2.4.8 → testit_cli-2.4.9}/src/testit_cli.egg-info/dependency_links.txt +0 -0
  31. {testit_cli-2.4.8 → testit_cli-2.4.9}/src/testit_cli.egg-info/entry_points.txt +0 -0
  32. {testit_cli-2.4.8 → testit_cli-2.4.9}/src/testit_cli.egg-info/top_level.txt +0 -0
  33. {testit_cli-2.4.8 → testit_cli-2.4.9}/tests/test_click.py +0 -0
  34. {testit_cli-2.4.8 → testit_cli-2.4.9}/tests/test_service.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: testit-cli
3
- Version: 2.4.8
3
+ Version: 2.4.9
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==6.1.1
19
+ Requires-Dist: testit-api-client==6.2.0
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.4.8"
3
+ VERSION = "2.4.9"
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==6.1.1', 'validators', 'tqdm', 'click~=8.0.4'],
29
+ install_requires=['testit-api-client==6.2.0', 'validators', 'tqdm', 'click~=8.0.4'],
30
30
  entry_points={
31
31
  'console_scripts': [
32
32
  'testit = testit_cli.__main__:console_main'
@@ -127,16 +127,15 @@ class ApiClient:
127
127
 
128
128
  for attachment in attachments:
129
129
  if os.path.isfile(attachment):
130
- with open(attachment, "rb+") as file:
131
- try:
132
- attachment_response = self.__attachments_api.api_v2_attachments_post(
133
- file=(file.name, file.read()))
130
+ try:
131
+ attachment_response = self.__attachments_api.api_v2_attachments_post(
132
+ file=attachment)
134
133
 
135
- attachment_ids.append(AssignAttachmentApiModel(id=attachment_response.id))
134
+ attachment_ids.append(AssignAttachmentApiModel(id=attachment_response.id))
136
135
 
137
- logging.debug(f'Attachment "{attachment}" was uploaded')
138
- except Exception as exc:
139
- logging.error(f'Upload attachment "{attachment}" status: {exc}')
136
+ logging.debug(f'Attachment "{attachment}" was uploaded')
137
+ except Exception as exc:
138
+ logging.error(f'Upload attachment "{attachment}" status: {exc}')
140
139
  else:
141
140
  logging.error(f'File "{attachment}" was not found!')
142
141
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: testit-cli
3
- Version: 2.4.8
3
+ Version: 2.4.9
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==6.1.1
19
+ Requires-Dist: testit-api-client==6.2.0
20
20
  Requires-Dist: validators
21
21
  Requires-Dist: tqdm
22
22
  Requires-Dist: click~=8.0.4
@@ -1,4 +1,4 @@
1
- testit-api-client==6.1.1
1
+ testit-api-client==6.2.0
2
2
  validators
3
3
  tqdm
4
4
  click~=8.0.4
File without changes
File without changes
File without changes