orangebeard-client 2.7.1__tar.gz → 2.7.3__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.
- {orangebeard_client-2.7.1/orangebeard_client.egg-info → orangebeard_client-2.7.3}/PKG-INFO +2 -2
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard/OrangebeardClient.py +1 -1
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard/config/AutoConfig.py +18 -16
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3/orangebeard_client.egg-info}/PKG-INFO +2 -2
- orangebeard_client-2.7.3/orangebeard_client.egg-info/requires.txt +2 -0
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/pyproject.toml +2 -2
- orangebeard_client-2.7.1/orangebeard_client.egg-info/requires.txt +0 -2
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/LICENSE +0 -0
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard/Cli.py +0 -0
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard/__init__.py +0 -0
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard/entity/Attachment.py +0 -0
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard/entity/Attribute.py +0 -0
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard/entity/FinishStep.py +0 -0
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard/entity/FinishTest.py +0 -0
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard/entity/FinishTestRun.py +0 -0
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard/entity/Log.py +0 -0
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard/entity/LogFormat.py +0 -0
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard/entity/LogLevel.py +0 -0
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard/entity/OrangebeardParameters.py +0 -0
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard/entity/SUTComponent.py +0 -0
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard/entity/Serializable.py +0 -0
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard/entity/StartStep.py +0 -0
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard/entity/StartSuite.py +0 -0
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard/entity/StartTest.py +0 -0
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard/entity/StartTestRun.py +0 -0
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard/entity/Suite.py +0 -0
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard/entity/TestStatus.py +0 -0
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard/entity/TestType.py +0 -0
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard/entity/__init__.py +0 -0
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard_client.egg-info/SOURCES.txt +0 -0
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard_client.egg-info/dependency_links.txt +0 -0
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard_client.egg-info/entry_points.txt +0 -0
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard_client.egg-info/top_level.txt +0 -0
- {orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: orangebeard-client
|
|
3
|
-
Version: 2.7.
|
|
3
|
+
Version: 2.7.3
|
|
4
4
|
Summary: A python3 client for Orangebeard
|
|
5
5
|
Author-email: Tom Heintzberger <tom@orangebeard.io>
|
|
6
6
|
License-Expression: AGPL-3.0-or-later
|
|
@@ -12,5 +12,5 @@ Requires-Python: >=3.7
|
|
|
12
12
|
Description-Content-Type: text/markdown
|
|
13
13
|
License-File: LICENSE
|
|
14
14
|
Requires-Dist: pytz
|
|
15
|
-
Requires-Dist: aiohttp
|
|
15
|
+
Requires-Dist: aiohttp>=3.13.0
|
|
16
16
|
Dynamic: license-file
|
|
@@ -340,7 +340,7 @@ class OrangebeardClient:
|
|
|
340
340
|
f'listener/v3/{self.__project_name}/test-run/finish/{real_test_run_uuid}',
|
|
341
341
|
finish_test_run
|
|
342
342
|
)
|
|
343
|
-
print('Done.
|
|
343
|
+
print(f'Done. Orangebeard Report: {self.__endpoint}p/{self.__project_name}/test-results')
|
|
344
344
|
else:
|
|
345
345
|
print('Done. Remember to finish run using CLI!')
|
|
346
346
|
|
|
@@ -32,9 +32,10 @@ def update_config_parameters_from_env(current_config: OrangebeardParameters) ->
|
|
|
32
32
|
if env_attributes:
|
|
33
33
|
current_config.attributes.extend(env_attributes)
|
|
34
34
|
|
|
35
|
-
current_config.referenceUrl = os.environ.get('
|
|
35
|
+
current_config.referenceUrl = os.environ.get('ORANGEBEARD_REFERENCE_URL', current_config.referenceUrl)
|
|
36
36
|
if current_config.referenceUrl is not None:
|
|
37
37
|
current_config.attributes.append(Attribute('reference_url', current_config.referenceUrl))
|
|
38
|
+
current_config.referenceUrl = None #moved to attribute
|
|
38
39
|
|
|
39
40
|
current_config.testrun_uuid = os.environ.get('ORANGEBEARD_TESTRUN_UUID', current_config.testrun_uuid)
|
|
40
41
|
|
|
@@ -42,28 +43,29 @@ def update_config_parameters_from_env(current_config: OrangebeardParameters) ->
|
|
|
42
43
|
|
|
43
44
|
|
|
44
45
|
# noinspection PyBroadException
|
|
45
|
-
def get_config(path_to_resolve: str) ->
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
46
|
+
def get_config(path_to_resolve: str) -> OrangebeardParameters:
|
|
47
|
+
config_from_file = OrangebeardParameters()
|
|
48
|
+
|
|
49
|
+
current_path = path_to_resolve
|
|
50
|
+
while True:
|
|
51
|
+
config_file_path = os.path.join(current_path, 'orangebeard.json')
|
|
50
52
|
if os.path.exists(config_file_path):
|
|
51
53
|
try:
|
|
52
54
|
with open(config_file_path, 'r', encoding='utf-8') as file:
|
|
53
55
|
config_data = json.load(file)
|
|
54
|
-
if
|
|
55
|
-
config_data
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
pass
|
|
56
|
+
if isinstance(config_data, dict):
|
|
57
|
+
config_from_file.__dict__.update(config_data)
|
|
58
|
+
except (json.JSONDecodeError, IOError) as e:
|
|
59
|
+
print(f"Warning: Could not read or parse {config_file_path}. Error: {e}")
|
|
60
|
+
break
|
|
60
61
|
|
|
61
|
-
prev_path =
|
|
62
|
-
|
|
62
|
+
prev_path = current_path
|
|
63
|
+
current_path = os.path.dirname(current_path)
|
|
63
64
|
|
|
64
|
-
|
|
65
|
+
if current_path == prev_path:
|
|
66
|
+
break
|
|
65
67
|
|
|
66
|
-
return update_config_parameters_from_env(
|
|
68
|
+
return update_config_parameters_from_env(config_from_file)
|
|
67
69
|
|
|
68
70
|
|
|
69
71
|
config = get_config(os.getcwd())
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: orangebeard-client
|
|
3
|
-
Version: 2.7.
|
|
3
|
+
Version: 2.7.3
|
|
4
4
|
Summary: A python3 client for Orangebeard
|
|
5
5
|
Author-email: Tom Heintzberger <tom@orangebeard.io>
|
|
6
6
|
License-Expression: AGPL-3.0-or-later
|
|
@@ -12,5 +12,5 @@ Requires-Python: >=3.7
|
|
|
12
12
|
Description-Content-Type: text/markdown
|
|
13
13
|
License-File: LICENSE
|
|
14
14
|
Requires-Dist: pytz
|
|
15
|
-
Requires-Dist: aiohttp
|
|
15
|
+
Requires-Dist: aiohttp>=3.13.0
|
|
16
16
|
Dynamic: license-file
|
|
@@ -4,13 +4,13 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "orangebeard-client"
|
|
7
|
-
version = "2.7.
|
|
7
|
+
version = "2.7.3"
|
|
8
8
|
description = "A python3 client for Orangebeard"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.7"
|
|
11
11
|
license = "AGPL-3.0-or-later"
|
|
12
12
|
classifiers = [ "Programming Language :: Python :: 3", "Operating System :: OS Independent",]
|
|
13
|
-
dependencies = [ "pytz", "aiohttp",]
|
|
13
|
+
dependencies = [ "pytz", "aiohttp>=3.13.0",]
|
|
14
14
|
[[project.authors]]
|
|
15
15
|
name = "Tom Heintzberger"
|
|
16
16
|
email = "tom@orangebeard.io"
|
|
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
|
{orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard/entity/OrangebeardParameters.py
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
|
{orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard_client.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard_client.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{orangebeard_client-2.7.1 → orangebeard_client-2.7.3}/orangebeard_client.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|