pytestomatio 2.8.2.dev4__tar.gz → 2.8.2.dev6__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.dev4/pytestomatio.egg-info → pytestomatio-2.8.2.dev6}/PKG-INFO +1 -1
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/pyproject.toml +2 -2
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/pytestomatio/connect/connector.py +11 -2
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/pytestomatio/testomatio/testRunConfig.py +14 -5
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6/pytestomatio.egg-info}/PKG-INFO +1 -1
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/LICENSE +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/README.md +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/pytestomatio/__init__.py +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/pytestomatio/connect/__init__.py +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/pytestomatio/connect/s3_connector.py +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/pytestomatio/decor/__init__.py +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/pytestomatio/decor/decorator_updater.py +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/pytestomatio/decor/default.py +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/pytestomatio/decor/pep8.py +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/pytestomatio/main.py +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/pytestomatio/testing/__init__.py +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/pytestomatio/testing/code_collector.py +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/pytestomatio/testing/testItem.py +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/pytestomatio/testomatio/__init__.py +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/pytestomatio/testomatio/testomat_item.py +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/pytestomatio/testomatio/testomatio.py +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/pytestomatio/utils/__init__.py +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/pytestomatio/utils/helper.py +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/pytestomatio/utils/parser_setup.py +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/pytestomatio/utils/validations.py +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/pytestomatio.egg-info/SOURCES.txt +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/pytestomatio.egg-info/dependency_links.txt +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/pytestomatio.egg-info/entry_points.txt +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/pytestomatio.egg-info/requires.txt +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/pytestomatio.egg-info/top_level.txt +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/setup.cfg +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/tests/sub/__init__.py +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/tests/sub/sub_mob/__init__.py +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/tests/sub/sub_mob/sub_sub_class_test.py +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/tests/sub/sub_mob/sub_sub_test.py +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/tests/sub/test_class_sub.py +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/tests/sub/test_sub.py +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/tests/test_class_root.py +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/tests/test_decorators.py +0 -0
- {pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/tests/test_root.py +0 -0
|
@@ -10,10 +10,10 @@ name = "cz_conventional_commits"
|
|
|
10
10
|
tag_format = "$version"
|
|
11
11
|
version_scheme = "pep440"
|
|
12
12
|
version_provider = "pep621"
|
|
13
|
-
update_changelog_on_bump =
|
|
13
|
+
update_changelog_on_bump = false
|
|
14
14
|
[project]
|
|
15
15
|
name = "pytestomatio"
|
|
16
|
-
version = "2.8.2.
|
|
16
|
+
version = "2.8.2.dev6"
|
|
17
17
|
|
|
18
18
|
dependencies = [
|
|
19
19
|
"requests>=2.29.0",
|
|
@@ -17,6 +17,13 @@ class Connector:
|
|
|
17
17
|
self.jwt: str = ''
|
|
18
18
|
self.api_key = api_key
|
|
19
19
|
|
|
20
|
+
if getenv('HTTP_PROXY'):
|
|
21
|
+
self.session.proxies = {
|
|
22
|
+
'http': getenv('HTTP_PROXY'),
|
|
23
|
+
'https': getenv('HTTP_PROXY')
|
|
24
|
+
}
|
|
25
|
+
self.session.verify = False
|
|
26
|
+
|
|
20
27
|
def load_tests(
|
|
21
28
|
self,
|
|
22
29
|
tests: list[TestItem],
|
|
@@ -79,6 +86,7 @@ class Connector:
|
|
|
79
86
|
"label": label,
|
|
80
87
|
"parallel": parallel,
|
|
81
88
|
"ci_build_url": ci_build_url,
|
|
89
|
+
"shared_run": shared_run
|
|
82
90
|
}
|
|
83
91
|
filtered_request = {k: v for k, v in request.items() if v is not None}
|
|
84
92
|
try:
|
|
@@ -103,10 +111,11 @@ class Connector:
|
|
|
103
111
|
"api_key": self.api_key,
|
|
104
112
|
"title": title,
|
|
105
113
|
"group_title": group_title,
|
|
106
|
-
|
|
107
|
-
|
|
114
|
+
"env": env,
|
|
115
|
+
"label": label,
|
|
108
116
|
"parallel": parallel,
|
|
109
117
|
"ci_build_url": ci_build_url,
|
|
118
|
+
"shared_run": shared_run
|
|
110
119
|
}
|
|
111
120
|
filtered_request = {k: v for k, v in request.items() if v is not None}
|
|
112
121
|
|
{pytestomatio-2.8.2.dev4 → pytestomatio-2.8.2.dev6}/pytestomatio/testomatio/testRunConfig.py
RENAMED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import os
|
|
2
2
|
import datetime as dt
|
|
3
|
+
import tempfile
|
|
3
4
|
from pytestomatio.utils.helper import safe_string_list
|
|
4
5
|
from typing import Optional
|
|
5
6
|
|
|
7
|
+
TESTOMATIO_TEST_RUN_LOCK_FILE = ".testomatio_test_run_id_lock"
|
|
6
8
|
|
|
7
9
|
class TestRunConfig:
|
|
8
10
|
def __init__(self):
|
|
@@ -39,21 +41,28 @@ class TestRunConfig:
|
|
|
39
41
|
|
|
40
42
|
def save_run_id(self, run_id: str) -> None:
|
|
41
43
|
self.test_run_id = run_id
|
|
42
|
-
|
|
44
|
+
temp_dir = tempfile.gettempdir()
|
|
45
|
+
temp_file_path = os.path.join(temp_dir, TESTOMATIO_TEST_RUN_LOCK_FILE)
|
|
46
|
+
with open(temp_file_path, 'w') as f:
|
|
43
47
|
f.write(run_id)
|
|
44
48
|
|
|
49
|
+
|
|
45
50
|
def get_run_id(self) -> Optional[str]:
|
|
46
51
|
if self.test_run_id:
|
|
47
52
|
return self.test_run_id
|
|
48
|
-
|
|
49
|
-
|
|
53
|
+
temp_dir = tempfile.gettempdir()
|
|
54
|
+
temp_file_path = os.path.join(temp_dir, TESTOMATIO_TEST_RUN_LOCK_FILE)
|
|
55
|
+
if os.path.exists(temp_file_path):
|
|
56
|
+
with open(temp_file_path, 'r') as f:
|
|
50
57
|
self.test_run_id = f.read()
|
|
51
58
|
return self.test_run_id
|
|
52
59
|
return None
|
|
53
60
|
|
|
54
61
|
def clear_run_id(self) -> None:
|
|
55
|
-
|
|
56
|
-
|
|
62
|
+
temp_dir = tempfile.gettempdir()
|
|
63
|
+
temp_file_path = os.path.join(temp_dir, TESTOMATIO_TEST_RUN_LOCK_FILE)
|
|
64
|
+
if os.path.exists(temp_file_path):
|
|
65
|
+
os.remove(temp_file_path)
|
|
57
66
|
|
|
58
67
|
def resolve_build_url(self) -> Optional[str]:
|
|
59
68
|
# You might not always want the build URL to change in the Testomat.io test run
|
|
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.dev4 → pytestomatio-2.8.2.dev6}/pytestomatio/testomatio/testomat_item.py
RENAMED
|
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.dev4 → pytestomatio-2.8.2.dev6}/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
|
|
File without changes
|