Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on generating failure message for assertion 6.4.23 #46

Closed
ricardoas opened this issue Oct 25, 2017 · 0 comments · Fixed by #45
Closed

Error on generating failure message for assertion 6.4.23 #46

ricardoas opened this issue Oct 25, 2017 · 0 comments · Fixed by #45

Comments

@ricardoas
Copy link
Contributor

Got this error when running the check against a service:

Traceback (most recent call last):
  File "rf_client.py", line 780, in <module>
    main()
  File "rf_client.py", line 774, in main
    rfs_test.run(sut)
  File "/home/ubuntu/redfish/Redfish-Service-Conformance-Check/rfs_test/__init__.py", line 39, in run
    TEST_protocol_details.run(sut, log)
  File "/home/ubuntu/redfish/Redfish-Service-Conformance-Check/rfs_test/TEST_protocol_details.py", line 5046, in run
    assertion_status = Assertion_6_4_23(self, log)
  File "/home/ubuntu/redfish/Redfish-Service-Conformance-Check/rfs_test/TEST_protocol_details.py", line 1439, in Assertion_6_
    log.assertion_log('Unable to verify PATCH for resource readonly property' & (relative_uris[relative_uri]))
TypeError: unsupported operand type(s) for &: 'str' and 'str'

It seems to me the message generation is wrong... I'll submit a PR fixing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant