diff options
author | Haibin Huang <haibin.huang@intel.com> | 2019-08-27 09:55:51 +0800 |
---|---|---|
committer | Haibin Huang <haibin.huang@intel.com> | 2019-08-27 10:19:18 +0800 |
commit | 1e208649e7ac51882ef89c2d90b009da7762587e (patch) | |
tree | cd3f20c16f91090462a7958b1c718b4c968db5d4 /tests/multicloud-ocata/provision/sanity_test_multicloud.robot | |
parent | 2b661625874c1f933d28acbe5919cced5a2899b6 (diff) |
Delete csit for ocata
Issue-ID: MULTICLOUD-775
Signed-off-by: Haibin Huang <haibin.huang@intel.com>
Change-Id: I29181c746a4691409a2df32a9f6c77d0a56724c6
Diffstat (limited to 'tests/multicloud-ocata/provision/sanity_test_multicloud.robot')
-rw-r--r-- | tests/multicloud-ocata/provision/sanity_test_multicloud.robot | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/multicloud-ocata/provision/sanity_test_multicloud.robot b/tests/multicloud-ocata/provision/sanity_test_multicloud.robot deleted file mode 100644 index c6262524..00000000 --- a/tests/multicloud-ocata/provision/sanity_test_multicloud.robot +++ /dev/null @@ -1,22 +0,0 @@ -*** settings *** -Library Collections -Library RequestsLibrary -Library OperatingSystem -Library json - -*** Variables *** -@{return_ok_list}= 200 201 202 -${queryswagger_ocata_url} /api/multicloud-ocata/v0/swagger.json - - -*** Test Cases *** -OcataSwaggerTest - [Documentation] query swagger info rest test - ${headers} Create Dictionary Content-Type=application/json Accept=application/json - Create Session web_session http://${SERVICE_IP}:${SERVICE_PORT} headers=${headers} - ${resp}= Get Request web_session ${queryswagger_ocata_url} - ${response_code}= Convert To String ${resp.status_code} - List Should Contain Value ${return_ok_list} ${response_code} - ${response_json} json.loads ${resp.content} - ${swagger_version}= Convert To String ${response_json['swagger']} - Should Be Equal ${swagger_version} 2.0 |