- 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