]> git.proxmox.com Git - ceph.git/blobdiff - ceph/qa/workunits/rest/test_mgr_rest_api.py
import quincy beta 17.1.0
[ceph.git] / ceph / qa / workunits / rest / test_mgr_rest_api.py
index f8158af25314b6a829f6dfa35b298c09dd43e253..74126ab7808a288cf723b04e42ac206c2571d60e 100755 (executable)
@@ -89,6 +89,7 @@ for method, endpoint, args in screenplay:
         headers=headers,
         verify=False,
         auth=auth)
+    assert request is not None
     print(request.text)
     if request.status_code != 200 or 'error' in request.json():
         print('ERROR: %s request for URL "%s" failed' % (method, url))