From 28e5bff2a552c2dfbfc7fccedbd0e535b64a491c Mon Sep 17 00:00:00 2001 From: Luis Gomez Date: Sat, 30 Jan 2016 13:33:07 -0800 Subject: [PATCH] Add log for REST response This is useful in case we get REST error status code. Change-Id: I2235afbc0b0d51c56bceb52ce689822541f4cb5b Signed-off-by: Luis Gomez --- csit/libraries/OVSDB.robot | 1 + 1 file changed, 1 insertion(+) diff --git a/csit/libraries/OVSDB.robot b/csit/libraries/OVSDB.robot index 4aba2decf7..8174fb97f0 100644 --- a/csit/libraries/OVSDB.robot +++ b/csit/libraries/OVSDB.robot @@ -74,6 +74,7 @@ Get OVSDB UUID ... node-id stripped of "ovsdb://uuid/". If not found, ${EMPTY} will be returned. ${uuid}= Set Variable ${EMPTY} ${resp}= RequestsLibrary.Get Request ${controller_http_session} ${OPERATIONAL_TOPO_API}/topology/ovsdb:1 + Log ${resp.content} Should Be Equal As Strings ${resp.status_code} 200 ${resp_json}= To Json ${resp.content} ${topologies}= Get From Dictionary ${resp_json} topology -- 2.36.6