testit-adapter-pytest 3.8.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.
- {testit_adapter_pytest-3.8.0 → testit_adapter_pytest-3.9.1}/PKG-INFO +2 -2
- {testit_adapter_pytest-3.8.0 → testit_adapter_pytest-3.9.1}/setup.py +1 -1
- {testit_adapter_pytest-3.8.0 → testit_adapter_pytest-3.9.1}/src/testit_adapter_pytest/utils.py +6 -5
- {testit_adapter_pytest-3.8.0 → testit_adapter_pytest-3.9.1}/src/testit_adapter_pytest.egg-info/PKG-INFO +2 -2
- testit_adapter_pytest-3.9.1/src/testit_adapter_pytest.egg-info/requires.txt +4 -0
- testit_adapter_pytest-3.8.0/src/testit_adapter_pytest.egg-info/requires.txt +0 -4
- {testit_adapter_pytest-3.8.0 → testit_adapter_pytest-3.9.1}/README.md +0 -0
- {testit_adapter_pytest-3.8.0 → testit_adapter_pytest-3.9.1}/setup.cfg +0 -0
- {testit_adapter_pytest-3.8.0 → testit_adapter_pytest-3.9.1}/src/testit_adapter_pytest/__init__.py +0 -0
- {testit_adapter_pytest-3.8.0 → testit_adapter_pytest-3.9.1}/src/testit_adapter_pytest/fixture_context.py +0 -0
- {testit_adapter_pytest-3.8.0 → testit_adapter_pytest-3.9.1}/src/testit_adapter_pytest/listener.py +0 -0
- {testit_adapter_pytest-3.8.0 → testit_adapter_pytest-3.9.1}/src/testit_adapter_pytest/models/__init__.py +0 -0
- {testit_adapter_pytest-3.8.0 → testit_adapter_pytest-3.9.1}/src/testit_adapter_pytest/models/executable_test.py +0 -0
- {testit_adapter_pytest-3.8.0 → testit_adapter_pytest-3.9.1}/src/testit_adapter_pytest/plugin.py +0 -0
- {testit_adapter_pytest-3.8.0 → testit_adapter_pytest-3.9.1}/src/testit_adapter_pytest.egg-info/SOURCES.txt +0 -0
- {testit_adapter_pytest-3.8.0 → testit_adapter_pytest-3.9.1}/src/testit_adapter_pytest.egg-info/dependency_links.txt +0 -0
- {testit_adapter_pytest-3.8.0 → testit_adapter_pytest-3.9.1}/src/testit_adapter_pytest.egg-info/entry_points.txt +0 -0
- {testit_adapter_pytest-3.8.0 → testit_adapter_pytest-3.9.1}/src/testit_adapter_pytest.egg-info/top_level.txt +0 -0
- {testit_adapter_pytest-3.8.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.
|
|
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.
|
|
19
|
+
Requires-Dist: testit-python-commons==3.9.1
|
|
20
20
|
Dynamic: author
|
|
21
21
|
Dynamic: author-email
|
|
22
22
|
Dynamic: classifier
|
{testit_adapter_pytest-3.8.0 → testit_adapter_pytest-3.9.1}/src/testit_adapter_pytest/utils.py
RENAMED
|
@@ -2,7 +2,8 @@ import hashlib
|
|
|
2
2
|
import logging
|
|
3
3
|
import re
|
|
4
4
|
import traceback
|
|
5
|
-
import
|
|
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:
|
|
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:
|
|
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:
|
|
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) ->
|
|
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.
|
|
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.
|
|
19
|
+
Requires-Dist: testit-python-commons==3.9.1
|
|
20
20
|
Dynamic: author
|
|
21
21
|
Dynamic: author-email
|
|
22
22
|
Dynamic: classifier
|
|
File without changes
|
|
File without changes
|
{testit_adapter_pytest-3.8.0 → testit_adapter_pytest-3.9.1}/src/testit_adapter_pytest/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{testit_adapter_pytest-3.8.0 → testit_adapter_pytest-3.9.1}/src/testit_adapter_pytest/listener.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{testit_adapter_pytest-3.8.0 → testit_adapter_pytest-3.9.1}/src/testit_adapter_pytest/plugin.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|