commit 6caf3fabbbded0790142edfd51dc693166d669c2
Author: Martin Kopec <email address hidden>
Date: Sun Jan 20 15:24:10 2019 +0000
Fix tempest cleanup for python3
When using python3 the file which is read and
loaded by jsonutils needs to be opened in binary
mode, otherwise, it's causing problems.
It is a known bug [1] in jsonutils from
oslo.serialization module.
The patch also adds a unit test which tests
the loading of a json file.
Reviewed: https:/ /review. openstack. org/631982 /git.openstack. org/cgit/ openstack/ tempest/ commit/ ?id=6caf3fabbbd ed0790142edfd51 dc693166d669c2
Committed: https:/
Submitter: Zuul
Branch: master
commit 6caf3fabbbded07 90142edfd51dc69 3166d669c2
Author: Martin Kopec <email address hidden>
Date: Sun Jan 20 15:24:10 2019 +0000
Fix tempest cleanup for python3
When using python3 the file which is read and serialization module.
loaded by jsonutils needs to be opened in binary
mode, otherwise, it's causing problems.
It is a known bug [1] in jsonutils from
oslo.
The patch also adds a unit test which tests
the loading of a json file.
[1] https:/ /bugs.launchpad .net/oslo. serialization/ +bug/1515231
Closes-Bug: #1806089 7a4b75381de7d6d bddd3de4e09
Change-Id: I3db71c6662d913