tempest/releasenotes/notes/prevent-error-in-parse-resp-when-nullable-list-9898cd0f22180986.yaml
Ken'ichi Ohmichi 69a8edc1ac Prevent error in _parse_resp when nullable list
- Add if contiditon to check, that body object hasattr 'keys'
- Add unit test for this case

NOTE: The original patch is Ifd063ed2329ec14c123a128b9520babb54ece69c
      and this patch moves it to Tempest from deprecated tempest-lib.
      In addition, this patch moves the test path because the path was
      not match to the corresponding module.
      One more thing is that this issue happened on Murano side and
      they needed to have some workaround on their side. It would be
      nice to fix this root issue on Tempest side.

Co-Authored-By: Victor Ryzhenkin <vryzhenkin@mirantis.com>
Closes-Bug: #1539927
Change-Id: I46cee5f3910ec9dfe383c6466f711e4a9554bb60
2017-05-30 17:42:26 +00:00

7 lines
195 B
YAML

---
fixes:
- |
When receiving nullable list as a response body, tempest.lib
rest_client module raised an exception without valid json
deserialization. A new release fixes this bug.