testit-adapter-pytest 3.9.0__tar.gz → 3.9.1__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 (19) hide show
  1. {testit_adapter_pytest-3.9.0 → testit_adapter_pytest-3.9.1}/PKG-INFO +2 -2
  2. {testit_adapter_pytest-3.9.0 → testit_adapter_pytest-3.9.1}/setup.py +1 -1
  3. {testit_adapter_pytest-3.9.0 → testit_adapter_pytest-3.9.1}/src/testit_adapter_pytest/utils.py +6 -5
  4. {testit_adapter_pytest-3.9.0 → testit_adapter_pytest-3.9.1}/src/testit_adapter_pytest.egg-info/PKG-INFO +2 -2
  5. testit_adapter_pytest-3.9.1/src/testit_adapter_pytest.egg-info/requires.txt +4 -0
  6. testit_adapter_pytest-3.9.0/src/testit_adapter_pytest.egg-info/requires.txt +0 -4
  7. {testit_adapter_pytest-3.9.0 → testit_adapter_pytest-3.9.1}/README.md +0 -0
  8. {testit_adapter_pytest-3.9.0 → testit_adapter_pytest-3.9.1}/setup.cfg +0 -0
  9. {testit_adapter_pytest-3.9.0 → testit_adapter_pytest-3.9.1}/src/testit_adapter_pytest/__init__.py +0 -0
  10. {testit_adapter_pytest-3.9.0 → testit_adapter_pytest-3.9.1}/src/testit_adapter_pytest/fixture_context.py +0 -0
  11. {testit_adapter_pytest-3.9.0 → testit_adapter_pytest-3.9.1}/src/testit_adapter_pytest/listener.py +0 -0
  12. {testit_adapter_pytest-3.9.0 → testit_adapter_pytest-3.9.1}/src/testit_adapter_pytest/models/__init__.py +0 -0
  13. {testit_adapter_pytest-3.9.0 → testit_adapter_pytest-3.9.1}/src/testit_adapter_pytest/models/executable_test.py +0 -0
  14. {testit_adapter_pytest-3.9.0 → testit_adapter_pytest-3.9.1}/src/testit_adapter_pytest/plugin.py +0 -0
  15. {testit_adapter_pytest-3.9.0 → testit_adapter_pytest-3.9.1}/src/testit_adapter_pytest.egg-info/SOURCES.txt +0 -0
  16. {testit_adapter_pytest-3.9.0 → testit_adapter_pytest-3.9.1}/src/testit_adapter_pytest.egg-info/dependency_links.txt +0 -0
  17. {testit_adapter_pytest-3.9.0 → testit_adapter_pytest-3.9.1}/src/testit_adapter_pytest.egg-info/entry_points.txt +0 -0
  18. {testit_adapter_pytest-3.9.0 → testit_adapter_pytest-3.9.1}/src/testit_adapter_pytest.egg-info/top_level.txt +0 -0
  19. {testit_adapter_pytest-3.9.0 → testit_adapter_pytest-3.9.1}/tests/test_listener.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: testit-adapter-pytest
3
- Version: 3.9.0
3
+ Version: 3.9.1
4
4
  Summary: Pytest adapter for Test IT
5
5
  Home-page: https://github.com/testit-tms/adapters-python/
6
6
  Author: Integration team
@@ -16,7 +16,7 @@ Description-Content-Type: text/markdown
16
16
  Requires-Dist: pytest
17
17
  Requires-Dist: pytest-xdist
18
18
  Requires-Dist: attrs
19
- Requires-Dist: testit-python-commons==3.9.0
19
+ Requires-Dist: testit-python-commons==3.9.1
20
20
  Dynamic: author
21
21
  Dynamic: author-email
22
22
  Dynamic: classifier
@@ -1,6 +1,6 @@
1
1
  from setuptools import find_packages, setup
2
2
 
3
- VERSION = "3.9.0"
3
+ VERSION = "3.9.1"
4
4
 
5
5
  setup(
6
6
  name='testit-adapter-pytest',
@@ -2,7 +2,8 @@ import hashlib
2
2
  import logging
3
3
  import re
4
4
  import traceback
5
- import typing
5
+ from typing import List
6
+
6
7
  import pytest
7
8
 
8
9
  from traceback import format_exception_only
@@ -334,23 +335,23 @@ def __get_test_path_parts_by_node_id(node_id: str):
334
335
  return node_id.split('/')
335
336
 
336
337
 
337
- def __get_directories_in_project_by_test_path_parts(test_path_parts: typing.List[str]):
338
+ def __get_directories_in_project_by_test_path_parts(test_path_parts: List[str]):
338
339
  return test_path_parts[:-1]
339
340
 
340
341
 
341
- def __get_test_node_parts_from_module_by_test_path_parts(test_path_parts: typing.List[str]):
342
+ def __get_test_node_parts_from_module_by_test_path_parts(test_path_parts: List[str]):
342
343
  test_node_from_module = test_path_parts[-1]
343
344
 
344
345
  return test_node_from_module.split('::')
345
346
 
346
347
 
347
- def __join_test_node_parts_to_pytest_autotest_keys(test_node_parts: typing.List[str]):
348
+ def __join_test_node_parts_to_pytest_autotest_keys(test_node_parts: List[str]):
348
349
  return ' and '.join(test_node_parts)
349
350
 
350
351
 
351
352
  def fixtures_containers_to_test_results_with_all_fixture_step_results(
352
353
  fixtures_containers: dict,
353
- test_result_ids: dict) -> typing.List[TestResultWithAllFixtureStepResults]:
354
+ test_result_ids: dict) -> List[TestResultWithAllFixtureStepResults]:
354
355
  test_results_with_all_fixture_step_results = []
355
356
 
356
357
  for node_id, test_result_id in test_result_ids.items():
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: testit-adapter-pytest
3
- Version: 3.9.0
3
+ Version: 3.9.1
4
4
  Summary: Pytest adapter for Test IT
5
5
  Home-page: https://github.com/testit-tms/adapters-python/
6
6
  Author: Integration team
@@ -16,7 +16,7 @@ Description-Content-Type: text/markdown
16
16
  Requires-Dist: pytest
17
17
  Requires-Dist: pytest-xdist
18
18
  Requires-Dist: attrs
19
- Requires-Dist: testit-python-commons==3.9.0
19
+ Requires-Dist: testit-python-commons==3.9.1
20
20
  Dynamic: author
21
21
  Dynamic: author-email
22
22
  Dynamic: classifier
@@ -0,0 +1,4 @@
1
+ pytest
2
+ pytest-xdist
3
+ attrs
4
+ testit-python-commons==3.9.1
@@ -1,4 +0,0 @@
1
- pytest
2
- pytest-xdist
3
- attrs
4
- testit-python-commons==3.9.0