testit-cli 2.1.1__tar.gz → 2.1.2__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 (33) hide show
  1. {testit_cli-2.1.1 → testit_cli-2.1.2}/PKG-INFO +11 -2
  2. {testit_cli-2.1.1 → testit_cli-2.1.2}/setup.py +1 -1
  3. {testit_cli-2.1.1 → testit_cli-2.1.2}/src/testit_cli/apiclient.py +2 -2
  4. {testit_cli-2.1.1 → testit_cli-2.1.2}/src/testit_cli/converter.py +8 -8
  5. {testit_cli-2.1.1 → testit_cli-2.1.2}/src/testit_cli.egg-info/PKG-INFO +11 -2
  6. {testit_cli-2.1.1 → testit_cli-2.1.2}/LICENSE +0 -0
  7. {testit_cli-2.1.1 → testit_cli-2.1.2}/README.md +0 -0
  8. {testit_cli-2.1.1 → testit_cli-2.1.2}/setup.cfg +0 -0
  9. {testit_cli-2.1.1 → testit_cli-2.1.2}/src/testit_cli/__init__.py +0 -0
  10. {testit_cli-2.1.1 → testit_cli-2.1.2}/src/testit_cli/__main__.py +0 -0
  11. {testit_cli-2.1.1 → testit_cli-2.1.2}/src/testit_cli/autotests_filter.py +0 -0
  12. {testit_cli-2.1.1 → testit_cli-2.1.2}/src/testit_cli/click_commands.py +0 -0
  13. {testit_cli-2.1.1 → testit_cli-2.1.2}/src/testit_cli/dir_worker.py +0 -0
  14. {testit_cli-2.1.1 → testit_cli-2.1.2}/src/testit_cli/file_worker.py +0 -0
  15. {testit_cli-2.1.1 → testit_cli-2.1.2}/src/testit_cli/filter_factory.py +0 -0
  16. {testit_cli-2.1.1 → testit_cli-2.1.2}/src/testit_cli/importer.py +0 -0
  17. {testit_cli-2.1.1 → testit_cli-2.1.2}/src/testit_cli/logger.py +0 -0
  18. {testit_cli-2.1.1 → testit_cli-2.1.2}/src/testit_cli/models/__init__.py +0 -0
  19. {testit_cli-2.1.1 → testit_cli-2.1.2}/src/testit_cli/models/config.py +0 -0
  20. {testit_cli-2.1.1 → testit_cli-2.1.2}/src/testit_cli/models/mode.py +0 -0
  21. {testit_cli-2.1.1 → testit_cli-2.1.2}/src/testit_cli/models/status.py +0 -0
  22. {testit_cli-2.1.1 → testit_cli-2.1.2}/src/testit_cli/models/testcase.py +0 -0
  23. {testit_cli-2.1.1 → testit_cli-2.1.2}/src/testit_cli/models/testrun.py +0 -0
  24. {testit_cli-2.1.1 → testit_cli-2.1.2}/src/testit_cli/parser.py +0 -0
  25. {testit_cli-2.1.1 → testit_cli-2.1.2}/src/testit_cli/service.py +0 -0
  26. {testit_cli-2.1.1 → testit_cli-2.1.2}/src/testit_cli/service_factory.py +0 -0
  27. {testit_cli-2.1.1 → testit_cli-2.1.2}/src/testit_cli/validation.py +0 -0
  28. {testit_cli-2.1.1 → testit_cli-2.1.2}/src/testit_cli.egg-info/SOURCES.txt +0 -0
  29. {testit_cli-2.1.1 → testit_cli-2.1.2}/src/testit_cli.egg-info/dependency_links.txt +0 -0
  30. {testit_cli-2.1.1 → testit_cli-2.1.2}/src/testit_cli.egg-info/entry_points.txt +0 -0
  31. {testit_cli-2.1.1 → testit_cli-2.1.2}/src/testit_cli.egg-info/requires.txt +0 -0
  32. {testit_cli-2.1.1 → testit_cli-2.1.2}/src/testit_cli.egg-info/top_level.txt +0 -0
  33. {testit_cli-2.1.1 → testit_cli-2.1.2}/tests/test_click.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: testit-cli
3
- Version: 2.1.1
3
+ Version: 2.1.2
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
@@ -20,6 +20,15 @@ Requires-Dist: testit-api-client==5.0.0
20
20
  Requires-Dist: validators
21
21
  Requires-Dist: tqdm
22
22
  Requires-Dist: click~=8.0.4
23
+ Dynamic: author
24
+ Dynamic: author-email
25
+ Dynamic: classifier
26
+ Dynamic: description
27
+ Dynamic: description-content-type
28
+ Dynamic: home-page
29
+ Dynamic: license
30
+ Dynamic: requires-dist
31
+ Dynamic: summary
23
32
 
24
33
  # Test IT CLI
25
34
 
@@ -2,7 +2,7 @@ from setuptools import find_packages, setup
2
2
 
3
3
  setup(
4
4
  name='testit-cli',
5
- version='2.1.1',
5
+ version='2.1.2',
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(),
@@ -37,7 +37,7 @@ class ApiClient:
37
37
 
38
38
  test_run = self.__test_run_api.create_empty(test_run_v2_post_short_model=model)
39
39
 
40
- logging.info(f'Created new testrun (ID: {test_run["id"]})')
40
+ logging.info(f'Created new testrun (ID: {test_run.id})')
41
41
  logging.debug(f"Test run created: {test_run}")
42
42
 
43
43
  return Converter.test_run_v2_get_model_to_test_run(test_run)
@@ -90,7 +90,7 @@ class ApiClient:
90
90
 
91
91
  logging.debug(f"Created autotest {response}")
92
92
 
93
- return response["id"]
93
+ return response.id
94
94
 
95
95
  def update_autotest(self, model: Converter.test_result_to_update_autotest_request):
96
96
  """Function updates autotest"""
@@ -116,14 +116,14 @@ class Converter:
116
116
  @classmethod
117
117
  def test_run_v2_get_model_to_test_run(cls, test_run_model: TestRunV2GetModel) -> TestRun:
118
118
  return TestRun(
119
- id=test_run_model["id"],
120
- project_id=test_run_model["project_id"],
121
- state=test_run_model["state_name"].value,
122
- name=test_run_model["name"],
123
- description=test_run_model["description"],
124
- launch_source=test_run_model["launch_source"],
125
- attachments=cls.attachment_models_to_attachment_put_models(test_run_model["attachments"]),
126
- links=cls.link_models_to_link_put_models(test_run_model["links"])
119
+ id=test_run_model.id,
120
+ project_id=test_run_model.project_id,
121
+ state=test_run_model.state_name.value,
122
+ name=test_run_model.name,
123
+ description=test_run_model.description,
124
+ launch_source=test_run_model.launch_source,
125
+ attachments=cls.attachment_models_to_attachment_put_models(test_run_model.attachments),
126
+ links=cls.link_models_to_link_put_models(test_run_model.links)
127
127
  )
128
128
 
129
129
  @classmethod
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: testit-cli
3
- Version: 2.1.1
3
+ Version: 2.1.2
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
@@ -20,6 +20,15 @@ Requires-Dist: testit-api-client==5.0.0
20
20
  Requires-Dist: validators
21
21
  Requires-Dist: tqdm
22
22
  Requires-Dist: click~=8.0.4
23
+ Dynamic: author
24
+ Dynamic: author-email
25
+ Dynamic: classifier
26
+ Dynamic: description
27
+ Dynamic: description-content-type
28
+ Dynamic: home-page
29
+ Dynamic: license
30
+ Dynamic: requires-dist
31
+ Dynamic: summary
23
32
 
24
33
  # Test IT CLI
25
34
 
File without changes
File without changes
File without changes