]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rest/test.py: earlier versions of requests.py don't quote ' ' in params
authorDan Mick <dan.mick@inktank.com>
Fri, 26 Jul 2013 04:41:32 +0000 (21:41 -0700)
committerDan Mick <dan.mick@inktank.com>
Fri, 26 Jul 2013 04:41:32 +0000 (21:41 -0700)
commit47d0937ccb553b3e0d447b792ba6b6ca30ae96f7
treeea51688601f1c032de89be2d4555ca2a5f319eaf
parent6951d2345a5d837c3b14103bd4d8f5ee4407c937
rest/test.py: earlier versions of requests.py don't quote ' ' in params

requests 0.12.1 handles queryparams in the URL with embedded
spaces; requests 0.8.2 does not.  Avoid the issue by quoting the
URL into expect().

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