]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rest/test.py: cope with older requests.py versions
authorDan Mick <dan.mick@inktank.com>
Wed, 24 Jul 2013 23:08:30 +0000 (16:08 -0700)
committerDan Mick <dan.mick@inktank.com>
Wed, 24 Jul 2013 23:09:13 +0000 (16:09 -0700)
commitfe2019cc973ce8c9d6dd80c878dcb8e02f4a2695
tree3c6b84b73557e18c8a6e65b5990c33f031877a92
parentfd1fd664d6102a2a96b27e8ca9933b54ac626ecb
rest/test.py: cope with older requests.py versions

Older requests.py didn't have r.json (or r.json()); avoid by
decoding the json myself

Signed-off-by: Dan Mick <dan.mick@inktank.com>
qa/workunits/rest/test.py