Fix OpenStack CLI Get List error 28/80328/2
authorYi Yang <yangyi01@inspur.com>
Thu, 14 Feb 2019 03:38:12 +0000 (22:38 -0500)
committerYi Yang <yangyi01@inspur.com>
Thu, 14 Feb 2019 05:08:21 +0000 (00:08 -0500)
commite6e32a086559fbe0a59558175b6f6b3b0c99f34f
tree3f62a8cd109e9e115696da3b8fadcf0d4fabf91d
parent964172409f502d8e9a07723e494b51703c0fdd8f
Fix OpenStack CLI Get List error

In OpenStack CLI Get List error, RequestsLibrary.To Json
    ${json} will result in exception if return value of
OpenStack CLI is empty, i.e. ${json} is empty, this will
terminate current keyword/test case, it isn't what we expect.

This commit fixed this error and make sure current keyword/test
case can be run normally.

Change-Id: If36e27f092e66920004cfc09e9a6d6ec88bf5b51
JIRA: INTTEST-56
Signed-off-by: Yi Yang <yangyi01@inspur.com>
csit/libraries/OpenStackOperations.robot