-
Notifications
You must be signed in to change notification settings - Fork 20
Description
intel@ubuntu:~/Redfish-Interop-Validator$ python3 RedfishInteropValidator.py -c config/example.ini OCPRackManagerController.v1_0_3.json >> validatorErr.txt
Traceback (most recent call last):
File "RedfishInteropValidator.py", line 10, in
status_code, lastResultsPage, exit_string = main()
File "/home/intel/Redfish-Interop-Validator/redfish_interop_validator/RedfishInteropValidator.py", line 225, in main
success, _, resultsNew, _, _ = validateURITree('/redfish/v1/', profile, 'ServiceRoot', expectedJson=jsonData)
File "/home/intel/Redfish-Interop-Validator/redfish_interop_validator/validateResource.py", line 338, in validateURITree
msgs = interop.validateComparisonAnyOfAllOf(profile_entry['PropertyRequirements'], resource_type)
File "/home/intel/Redfish-Interop-Validator/redfish_interop_validator/interop.py", line 98, in validateComparisonAnyOfAllOf
new_msgs = validateComparisonAnyOfAllOf(property_profile.get('PropertyRequirements'), '.'.join([property_path, key]))
File "/home/intel/Redfish-Interop-Validator/redfish_interop_validator/interop.py", line 48, in validateComparisonAnyOfAllOf
my_compare = property_profile.get('Comparison', 'AnyOf')
AttributeError: 'str' object has no attribute 'get'