pytestomatio 2.8.2.dev2__tar.gz → 2.8.2.dev4__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.
- {pytestomatio-2.8.2.dev2/pytestomatio.egg-info → pytestomatio-2.8.2.dev4}/PKG-INFO +2 -3
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/pyproject.toml +3 -4
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/pytestomatio/main.py +0 -4
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/pytestomatio/testomatio/testRunConfig.py +10 -9
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/pytestomatio/utils/validations.py +1 -1
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4/pytestomatio.egg-info}/PKG-INFO +2 -3
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/pytestomatio.egg-info/requires.txt +1 -2
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/LICENSE +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/README.md +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/pytestomatio/__init__.py +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/pytestomatio/connect/__init__.py +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/pytestomatio/connect/connector.py +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/pytestomatio/connect/s3_connector.py +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/pytestomatio/decor/__init__.py +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/pytestomatio/decor/decorator_updater.py +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/pytestomatio/decor/default.py +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/pytestomatio/decor/pep8.py +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/pytestomatio/testing/__init__.py +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/pytestomatio/testing/code_collector.py +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/pytestomatio/testing/testItem.py +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/pytestomatio/testomatio/__init__.py +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/pytestomatio/testomatio/testomat_item.py +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/pytestomatio/testomatio/testomatio.py +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/pytestomatio/utils/__init__.py +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/pytestomatio/utils/helper.py +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/pytestomatio/utils/parser_setup.py +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/pytestomatio.egg-info/SOURCES.txt +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/pytestomatio.egg-info/dependency_links.txt +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/pytestomatio.egg-info/entry_points.txt +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/pytestomatio.egg-info/top_level.txt +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/setup.cfg +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/tests/sub/__init__.py +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/tests/sub/sub_mob/__init__.py +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/tests/sub/sub_mob/sub_sub_class_test.py +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/tests/sub/sub_mob/sub_sub_test.py +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/tests/sub/test_class_sub.py +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/tests/sub/test_sub.py +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/tests/test_class_root.py +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/tests/test_decorators.py +0 -0
- {pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/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.
|
|
3
|
+
Version: 2.8.2.dev4
|
|
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/
|
|
@@ -17,9 +17,8 @@ Requires-Dist: requests>=2.29.0
|
|
|
17
17
|
Requires-Dist: pytest>7.2.0
|
|
18
18
|
Requires-Dist: boto3>=1.28.28
|
|
19
19
|
Requires-Dist: libcst==1.1.0
|
|
20
|
-
Requires-Dist: commitizen>=3.
|
|
20
|
+
Requires-Dist: commitizen>=3.29.0
|
|
21
21
|
Requires-Dist: autopep8>=2.1.0
|
|
22
|
-
Requires-Dist: pytest-xdist>=3.6.1
|
|
23
22
|
|
|
24
23
|
[](https://github.com/support-ukraine/support-ukraine)
|
|
25
24
|
|
|
@@ -13,16 +13,15 @@ version_provider = "pep621"
|
|
|
13
13
|
update_changelog_on_bump = true
|
|
14
14
|
[project]
|
|
15
15
|
name = "pytestomatio"
|
|
16
|
-
version = "2.8.2.
|
|
16
|
+
version = "2.8.2.dev4"
|
|
17
17
|
|
|
18
18
|
dependencies = [
|
|
19
19
|
"requests>=2.29.0",
|
|
20
20
|
"pytest>7.2.0",
|
|
21
21
|
"boto3>=1.28.28",
|
|
22
22
|
"libcst==1.1.0",
|
|
23
|
-
"commitizen>=3.
|
|
24
|
-
"autopep8>=2.1.0"
|
|
25
|
-
"pytest-xdist>=3.6.1"
|
|
23
|
+
"commitizen>=3.29.0",
|
|
24
|
+
"autopep8>=2.1.0"
|
|
26
25
|
]
|
|
27
26
|
|
|
28
27
|
authors = [
|
|
@@ -11,7 +11,6 @@ from pytestomatio.utils.helper import add_and_enrich_tests, get_test_mapping, co
|
|
|
11
11
|
from pytestomatio.utils.parser_setup import parser_options
|
|
12
12
|
from pytestomatio.utils import helper
|
|
13
13
|
from pytestomatio.utils import validations
|
|
14
|
-
from xdist.plugin import is_xdist_controller, get_xdist_worker_id
|
|
15
14
|
|
|
16
15
|
log = logging.getLogger(__name__)
|
|
17
16
|
log.setLevel('INFO')
|
|
@@ -54,9 +53,6 @@ def pytest_configure(config: Config):
|
|
|
54
53
|
run_details = pytest.testomatio.connector.create_test_run(**run.to_dict())
|
|
55
54
|
run_id = run_details.get('uid')
|
|
56
55
|
run.save_run_id(run_id)
|
|
57
|
-
else:
|
|
58
|
-
# for xdist - worker process - do nothing
|
|
59
|
-
pass
|
|
60
56
|
|
|
61
57
|
|
|
62
58
|
|
{pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/pytestomatio/testomatio/testRunConfig.py
RENAMED
|
@@ -6,17 +6,18 @@ from typing import Optional
|
|
|
6
6
|
|
|
7
7
|
class TestRunConfig:
|
|
8
8
|
def __init__(self):
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
self.title =
|
|
9
|
+
run_id = os.environ.get('TESTOMATIO_RUN_ID') or os.environ.get('TESTOMATIO_RUN')
|
|
10
|
+
title = os.environ.get('TESTOMATIO_TITLE') if os.environ.get('TESTOMATIO_TITLE') else 'test run at ' + dt.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
|
11
|
+
shared_run = os.environ.get('TESTOMATIO_SHARED_RUN') in ['True', 'true', '1']
|
|
12
|
+
self.test_run_id = run_id
|
|
13
|
+
self.title = title
|
|
14
14
|
self.environment = safe_string_list(os.environ.get('TESTOMATIO_ENV'))
|
|
15
15
|
self.label = safe_string_list(os.environ.get('TESTOMATIO_LABEL'))
|
|
16
|
-
self.group_title = os.environ.get('TESTOMATIO_RUNGROUP_TITLE')
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
self.group_title = os.environ.get('TESTOMATIO_RUNGROUP_TITLE')
|
|
17
|
+
# This allows to report tests to the test run by it's id. https://docs.testomat.io/getting-started/running-automated-tests/#reporting-parallel-tests
|
|
18
|
+
self.parallel = False if shared_run else True
|
|
19
|
+
# This allows using test run title to group tests under a single test run. This is needed when running tests in different processes or servers.
|
|
20
|
+
self.shared_run = shared_run
|
|
20
21
|
self.status_request = {}
|
|
21
22
|
self.build_url = self.resolve_build_url()
|
|
22
23
|
|
|
@@ -10,7 +10,7 @@ def validate_option(config: Config) -> Literal['sync', 'report', 'remove', 'debu
|
|
|
10
10
|
if os.getenv('TESTOMATIO') is None:
|
|
11
11
|
raise ValueError('TESTOMATIO env variable is not set')
|
|
12
12
|
|
|
13
|
-
if config.
|
|
13
|
+
if hasattr(config.option, 'numprocesses') and option in ('sync', 'debug', 'remove'):
|
|
14
14
|
raise ValueError('Testomatio does not support parallel sync, remove or report. Remove --numprocesses option')
|
|
15
15
|
|
|
16
16
|
return option
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pytestomatio
|
|
3
|
-
Version: 2.8.2.
|
|
3
|
+
Version: 2.8.2.dev4
|
|
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/
|
|
@@ -17,9 +17,8 @@ Requires-Dist: requests>=2.29.0
|
|
|
17
17
|
Requires-Dist: pytest>7.2.0
|
|
18
18
|
Requires-Dist: boto3>=1.28.28
|
|
19
19
|
Requires-Dist: libcst==1.1.0
|
|
20
|
-
Requires-Dist: commitizen>=3.
|
|
20
|
+
Requires-Dist: commitizen>=3.29.0
|
|
21
21
|
Requires-Dist: autopep8>=2.1.0
|
|
22
|
-
Requires-Dist: pytest-xdist>=3.6.1
|
|
23
22
|
|
|
24
23
|
[](https://github.com/support-ukraine/support-ukraine)
|
|
25
24
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/pytestomatio/testomatio/testomat_item.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pytestomatio-2.8.2.dev2 → pytestomatio-2.8.2.dev4}/pytestomatio.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|