pytestomatio 2.8.2.dev18__tar.gz → 2.8.2.dev20__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.dev18/pytestomatio.egg-info → pytestomatio-2.8.2.dev20}/PKG-INFO +1 -1
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/pyproject.toml +1 -1
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/pytestomatio/connect/connector.py +9 -6
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20/pytestomatio.egg-info}/PKG-INFO +1 -1
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/LICENSE +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/README.md +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/pytestomatio/__init__.py +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/pytestomatio/connect/__init__.py +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/pytestomatio/connect/s3_connector.py +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/pytestomatio/decor/__init__.py +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/pytestomatio/decor/decorator_updater.py +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/pytestomatio/decor/default.py +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/pytestomatio/decor/pep8.py +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/pytestomatio/main.py +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/pytestomatio/testing/__init__.py +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/pytestomatio/testing/code_collector.py +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/pytestomatio/testing/testItem.py +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/pytestomatio/testomatio/__init__.py +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/pytestomatio/testomatio/testRunConfig.py +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/pytestomatio/testomatio/testomat_item.py +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/pytestomatio/testomatio/testomatio.py +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/pytestomatio/utils/__init__.py +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/pytestomatio/utils/helper.py +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/pytestomatio/utils/parser_setup.py +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/pytestomatio/utils/validations.py +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/pytestomatio.egg-info/SOURCES.txt +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/pytestomatio.egg-info/dependency_links.txt +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/pytestomatio.egg-info/entry_points.txt +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/pytestomatio.egg-info/requires.txt +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/pytestomatio.egg-info/top_level.txt +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/setup.cfg +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/tests/sub/__init__.py +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/tests/sub/sub_mob/__init__.py +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/tests/sub/sub_mob/sub_sub_class_test.py +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/tests/sub/sub_mob/sub_sub_test.py +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/tests/sub/test_class_sub.py +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/tests/sub/test_sub.py +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/tests/test_class_root.py +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/tests/test_decorators.py +0 -0
- {pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/tests/test_root.py +0 -0
|
@@ -16,20 +16,23 @@ class Connector:
|
|
|
16
16
|
self.session.verify = True
|
|
17
17
|
self.jwt: str = ''
|
|
18
18
|
self.api_key = api_key
|
|
19
|
-
self.
|
|
19
|
+
self.proxies = {}
|
|
20
|
+
|
|
21
|
+
@property
|
|
22
|
+
def session(self):
|
|
23
|
+
"""Resolve and apply proxy settings each time session is accessed."""
|
|
24
|
+
if self.session is None:
|
|
25
|
+
self.session = requests.Session()
|
|
20
26
|
|
|
21
|
-
def _proxy_resolve(self):
|
|
22
27
|
http_proxy = getenv("HTTP_PROXY")
|
|
23
28
|
if http_proxy:
|
|
24
29
|
self.session.proxies = {"http": http_proxy, "https": http_proxy}
|
|
25
30
|
self.session.verify = False
|
|
26
31
|
else:
|
|
32
|
+
self.session.proxies.clear()
|
|
27
33
|
self.session.verify = True
|
|
28
34
|
|
|
29
|
-
|
|
30
|
-
if name == "session":
|
|
31
|
-
self._proxy_resolve()
|
|
32
|
-
return super().__getattribute__(name)
|
|
35
|
+
return self.session
|
|
33
36
|
|
|
34
37
|
def load_tests(
|
|
35
38
|
self,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/pytestomatio/decor/decorator_updater.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/pytestomatio/testing/code_collector.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/pytestomatio/testomatio/testRunConfig.py
RENAMED
|
File without changes
|
{pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/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.dev18 → pytestomatio-2.8.2.dev20}/pytestomatio.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/pytestomatio.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pytestomatio-2.8.2.dev18 → pytestomatio-2.8.2.dev20}/tests/sub/sub_mob/sub_sub_class_test.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|