redfish-interop-validator 2.3.0__tar.gz → 2.3.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.
- {redfish_interop_validator-2.3.0/redfish_interop_validator.egg-info → redfish_interop_validator-2.3.1}/PKG-INFO +1 -1
- {redfish_interop_validator-2.3.0 → redfish_interop_validator-2.3.1}/redfish_interop_validator/RedfishInteropValidator.py +1 -1
- {redfish_interop_validator-2.3.0 → redfish_interop_validator-2.3.1}/redfish_interop_validator/interop.py +7 -9
- {redfish_interop_validator-2.3.0 → redfish_interop_validator-2.3.1/redfish_interop_validator.egg-info}/PKG-INFO +1 -1
- {redfish_interop_validator-2.3.0 → redfish_interop_validator-2.3.1}/setup.py +1 -1
- {redfish_interop_validator-2.3.0 → redfish_interop_validator-2.3.1}/AUTHORS.md +0 -0
- {redfish_interop_validator-2.3.0 → redfish_interop_validator-2.3.1}/LICENSE.md +0 -0
- {redfish_interop_validator-2.3.0 → redfish_interop_validator-2.3.1}/README.md +0 -0
- {redfish_interop_validator-2.3.0 → redfish_interop_validator-2.3.1}/redfish_interop_validator/RedfishLogo.py +0 -0
- {redfish_interop_validator-2.3.0 → redfish_interop_validator-2.3.1}/redfish_interop_validator/__init__.py +0 -0
- {redfish_interop_validator-2.3.0 → redfish_interop_validator-2.3.1}/redfish_interop_validator/config.py +0 -0
- {redfish_interop_validator-2.3.0 → redfish_interop_validator-2.3.1}/redfish_interop_validator/profile.py +0 -0
- {redfish_interop_validator-2.3.0 → redfish_interop_validator-2.3.1}/redfish_interop_validator/redfish.py +0 -0
- {redfish_interop_validator-2.3.0 → redfish_interop_validator-2.3.1}/redfish_interop_validator/session.py +0 -0
- {redfish_interop_validator-2.3.0 → redfish_interop_validator-2.3.1}/redfish_interop_validator/tohtml.py +0 -0
- {redfish_interop_validator-2.3.0 → redfish_interop_validator-2.3.1}/redfish_interop_validator/traverseInterop.py +0 -0
- {redfish_interop_validator-2.3.0 → redfish_interop_validator-2.3.1}/redfish_interop_validator/validateResource.py +0 -0
- {redfish_interop_validator-2.3.0 → redfish_interop_validator-2.3.1}/redfish_interop_validator.egg-info/SOURCES.txt +0 -0
- {redfish_interop_validator-2.3.0 → redfish_interop_validator-2.3.1}/redfish_interop_validator.egg-info/dependency_links.txt +0 -0
- {redfish_interop_validator-2.3.0 → redfish_interop_validator-2.3.1}/redfish_interop_validator.egg-info/entry_points.txt +0 -0
- {redfish_interop_validator-2.3.0 → redfish_interop_validator-2.3.1}/redfish_interop_validator.egg-info/requires.txt +0 -0
- {redfish_interop_validator-2.3.0 → redfish_interop_validator-2.3.1}/redfish_interop_validator.egg-info/top_level.txt +0 -0
- {redfish_interop_validator-2.3.0 → redfish_interop_validator-2.3.1}/setup.cfg +0 -0
|
@@ -17,7 +17,7 @@ import redfish_interop_validator.traverseInterop as traverseInterop
|
|
|
17
17
|
from redfish_interop_validator.profile import getProfiles, checkProfileAgainstSchema, hashProfile
|
|
18
18
|
from redfish_interop_validator.validateResource import validateSingleURI, validateURITree
|
|
19
19
|
|
|
20
|
-
tool_version = '2.3.
|
|
20
|
+
tool_version = '2.3.1'
|
|
21
21
|
|
|
22
22
|
# Set up the custom debug levels
|
|
23
23
|
VERBOSE1 = logging.INFO - 1
|
|
@@ -67,11 +67,11 @@ def validateComparisonAnyOfAllOf(profile_entry, property_path="Unspecified"):
|
|
|
67
67
|
top_msg = msgInterop(msg_name, my_compare, expected_values, my_values, False)
|
|
68
68
|
all_msgs.append(top_msg)
|
|
69
69
|
|
|
70
|
-
#
|
|
71
|
-
#
|
|
70
|
+
# OK if value does not contribute
|
|
71
|
+
# PASS if value contributes
|
|
72
72
|
for msg in my_msgs:
|
|
73
73
|
msg.ignore = False
|
|
74
|
-
msg.success = testResultEnum.
|
|
74
|
+
msg.success = testResultEnum.OK
|
|
75
75
|
msg.expected = '{} {} ({})'.format(msg.expected, expected_values, "Across All Resources")
|
|
76
76
|
|
|
77
77
|
if my_compare == 'AnyOf':
|
|
@@ -79,25 +79,23 @@ def validateComparisonAnyOfAllOf(profile_entry, property_path="Unspecified"):
|
|
|
79
79
|
my_logger.info(' PASS')
|
|
80
80
|
top_msg.success = testResultEnum.PASS
|
|
81
81
|
for msg in my_msgs:
|
|
82
|
-
msg.success = testResultEnum.OK
|
|
83
82
|
if msg.actual in expected_values:
|
|
84
83
|
msg.success = testResultEnum.PASS
|
|
85
84
|
else:
|
|
86
85
|
my_logger.info(' FAIL')
|
|
87
|
-
for msg in my_msgs:
|
|
88
|
-
msg.success = testResultEnum.FAIL
|
|
89
86
|
|
|
90
87
|
if my_compare == 'AllOf':
|
|
91
88
|
if all([x in my_values for x in expected_values]):
|
|
92
89
|
my_logger.info(' PASS')
|
|
93
90
|
top_msg.success = testResultEnum.PASS
|
|
94
91
|
for msg in my_msgs:
|
|
95
|
-
msg.
|
|
92
|
+
if msg.actual in expected_values:
|
|
93
|
+
msg.success = testResultEnum.PASS
|
|
96
94
|
else:
|
|
97
95
|
my_logger.info(' FAIL')
|
|
98
96
|
for msg in my_msgs:
|
|
99
|
-
if msg.actual
|
|
100
|
-
msg.success = testResultEnum.
|
|
97
|
+
if msg.actual in expected_values:
|
|
98
|
+
msg.success = testResultEnum.PASS
|
|
101
99
|
|
|
102
100
|
if property_profile.get('PropertyRequirements'):
|
|
103
101
|
new_msgs = validateComparisonAnyOfAllOf(property_profile.get('PropertyRequirements'), '.'.join([property_path, key]))
|
|
@@ -11,7 +11,7 @@ with open("README.md", "r", "utf-8") as f:
|
|
|
11
11
|
|
|
12
12
|
setup(
|
|
13
13
|
name="redfish_interop_validator",
|
|
14
|
-
version="2.3.
|
|
14
|
+
version="2.3.1",
|
|
15
15
|
description="Redfish Interop Validator",
|
|
16
16
|
long_description=long_description,
|
|
17
17
|
long_description_content_type="text/markdown",
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|