pytestomatio 2.8.2.dev7__tar.gz → 2.8.2.dev8__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 (40) hide show
  1. {pytestomatio-2.8.2.dev7/pytestomatio.egg-info → pytestomatio-2.8.2.dev8}/PKG-INFO +1 -1
  2. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/pyproject.toml +1 -1
  3. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/pytestomatio/connect/connector.py +5 -5
  4. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/pytestomatio/main.py +2 -1
  5. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8/pytestomatio.egg-info}/PKG-INFO +1 -1
  6. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/LICENSE +0 -0
  7. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/README.md +0 -0
  8. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/pytestomatio/__init__.py +0 -0
  9. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/pytestomatio/connect/__init__.py +0 -0
  10. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/pytestomatio/connect/s3_connector.py +0 -0
  11. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/pytestomatio/decor/__init__.py +0 -0
  12. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/pytestomatio/decor/decorator_updater.py +0 -0
  13. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/pytestomatio/decor/default.py +0 -0
  14. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/pytestomatio/decor/pep8.py +0 -0
  15. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/pytestomatio/testing/__init__.py +0 -0
  16. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/pytestomatio/testing/code_collector.py +0 -0
  17. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/pytestomatio/testing/testItem.py +0 -0
  18. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/pytestomatio/testomatio/__init__.py +0 -0
  19. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/pytestomatio/testomatio/testRunConfig.py +0 -0
  20. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/pytestomatio/testomatio/testomat_item.py +0 -0
  21. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/pytestomatio/testomatio/testomatio.py +0 -0
  22. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/pytestomatio/utils/__init__.py +0 -0
  23. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/pytestomatio/utils/helper.py +0 -0
  24. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/pytestomatio/utils/parser_setup.py +0 -0
  25. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/pytestomatio/utils/validations.py +0 -0
  26. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/pytestomatio.egg-info/SOURCES.txt +0 -0
  27. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/pytestomatio.egg-info/dependency_links.txt +0 -0
  28. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/pytestomatio.egg-info/entry_points.txt +0 -0
  29. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/pytestomatio.egg-info/requires.txt +0 -0
  30. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/pytestomatio.egg-info/top_level.txt +0 -0
  31. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/setup.cfg +0 -0
  32. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/tests/sub/__init__.py +0 -0
  33. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/tests/sub/sub_mob/__init__.py +0 -0
  34. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/tests/sub/sub_mob/sub_sub_class_test.py +0 -0
  35. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/tests/sub/sub_mob/sub_sub_test.py +0 -0
  36. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/tests/sub/test_class_sub.py +0 -0
  37. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/tests/sub/test_sub.py +0 -0
  38. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/tests/test_class_root.py +0 -0
  39. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/tests/test_decorators.py +0 -0
  40. {pytestomatio-2.8.2.dev7 → pytestomatio-2.8.2.dev8}/tests/test_root.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pytestomatio
3
- Version: 2.8.2.dev7
3
+ Version: 2.8.2.dev8
4
4
  Summary: Pytest plugin to sync test with testomat.io
5
5
  Author: Oleksii Ostapov, TikoQA
6
6
  Project-URL: Testomat.io, https://testomat.io/
@@ -13,7 +13,7 @@ version_provider = "pep621"
13
13
  update_changelog_on_bump = false
14
14
  [project]
15
15
  name = "pytestomatio"
16
- version = "2.8.2.dev7"
16
+ version = "2.8.2.dev8"
17
17
 
18
18
  dependencies = [
19
19
  "requests>=2.29.0",
@@ -121,14 +121,14 @@ class Connector:
121
121
 
122
122
  try:
123
123
  response = self.session.put(f'{self.base_url}/api/reporter/{id}', json=filtered_request)
124
- except ConnectionError:
125
- log.error(f'Failed to connect to {self.base_url}')
124
+ except ConnectionError as ce:
125
+ log.error(f'Failed to connect to {self.base_url}: {ce}')
126
126
  return
127
- except HTTPError:
128
- log.error(f'Failed to connect to {self.base_url}')
127
+ except HTTPError as he:
128
+ log.error(f'Failed to connect to {self.base_url}: {he}')
129
129
  return
130
130
  except Exception as e:
131
- log.error(f'Generic exception happened. Please report an issue. {e}')
131
+ log.error(f'Generic exception happened. Please report an issue: {e}')
132
132
  return
133
133
 
134
134
  if response.status_code == 200:
@@ -111,7 +111,8 @@ def pytest_collection_modifyitems(session: Session, config: Config, items: list[
111
111
  run_details = pytest.testomatio.connector.update_test_run(**run.to_dict())
112
112
 
113
113
  if run_details is None:
114
- raise Exception('Test run failed to create. Reporting skipped')
114
+ log.error('Test run failed to create. Reporting skipped')
115
+ return
115
116
 
116
117
  artifact = run_details.get('artifacts')
117
118
  if artifact:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pytestomatio
3
- Version: 2.8.2.dev7
3
+ Version: 2.8.2.dev8
4
4
  Summary: Pytest plugin to sync test with testomat.io
5
5
  Author: Oleksii Ostapov, TikoQA
6
6
  Project-URL: Testomat.io, https://testomat.io/