Check HTTP status code on Keystone Auth request 45/3545/1
authorGary Wu <gary.i.wu@huawei.com>
Wed, 19 Apr 2017 16:52:19 +0000 (09:52 -0700)
committerGary Wu <gary.i.wu@huawei.com>
Wed, 19 Apr 2017 16:55:51 +0000 (09:55 -0700)
commitc761cec8fa5129fdc8aeeede39623e92d8945439
tree710654bed2b324fbdf87d6d7093a1d7052dff378
parent36267295676af437f5328e344aac0a5eaf58c5f5
Check HTTP status code on Keystone Auth request

The HTTP status code was not being checked during
Keystone Auth request, which causes failures to
only be detected down the road when the returned
JSON object is being parsed.  This change adds the
HTTP status code check right at point of API invocation.

Change-Id: Id53582090bb1e6c3ee04b3ec5488a8b6368dedfa
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
robot/resources/openstack/keystone_interface.robot