X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fqa%2Fworkunits%2Frest%2Ftest_mgr_rest_api.py;h=f8158af25314b6a829f6dfa35b298c09dd43e253;hb=1911f103e16ae0d04db10fb41db8217ef4c320d3;hp=1ed6c757efcd8b2a0da26e2c9b5f632083a964e3;hpb=78f773100ed5d2ebc9d99e65a3d7e3a6f541a97e;p=ceph.git diff --git a/ceph/qa/workunits/rest/test_mgr_rest_api.py b/ceph/qa/workunits/rest/test_mgr_rest_api.py index 1ed6c757e..f8158af25 100755 --- a/ceph/qa/workunits/rest/test_mgr_rest_api.py +++ b/ceph/qa/workunits/rest/test_mgr_rest_api.py @@ -85,7 +85,7 @@ for method, endpoint, args in screenplay: print("URL = " + url) request = getattr(requests, method)( url, - data=json.dumps(args), + data=json.dumps(args) if args else None, headers=headers, verify=False, auth=auth)