Files
keystoneauth/keystoneauth1/tests/unit/test_betamax_hooks.py
Ian Cordasco a68e2c1305 Prevent JSON decode errors in the pre-record hook
In the betamax pre-record hook included in keystoneauth1.fixtures, there
was an assumption that ever request body would have JSON. While most
will, this at least checks that they're not empty prior to trying to
decode the body.

Change-Id: I91b80b143576bd4f99392152c4d4675406e26f66
Closes-bug: #1671195
2017-03-08 12:37:21 -06:00

6.5 KiB