Fix python3 issues in Netvirt
[integration/test.git] / csit / libraries / DIDMKeywords.robot
index 2d6f0c920ff858c612c716fcf2dca5fca71041e6..881d9d0b42d24787a242cd4a3747edbf4d4d7c91 100644 (file)
@@ -11,14 +11,14 @@ Check DIDM Registered With Device
     [Documentation]    Check for DIDM registered with the device
     ${resp}=    RequestsLibrary.Get Request    session    ${OPERATIONAL_NODES_API}
     Should Be Equal As Strings    ${resp.status_code}    200
-    Log    ${resp.content}
-    Should Contain    ${resp.content}    didm
-    [Return]    ${resp.content}
+    Log    ${resp.text}
+    Should Contain    ${resp.text}    didm
+    [Return]    ${resp.text}
 
 Find Device Data
     [Documentation]    Extract device information
-    ${resp.content}=    Check DIDM Registered With Device
-    ${json_resp}=    RequestsLibrary.To_Json    ${resp.content}
+    ${resp.text}=    Check DIDM Registered With Device
+    ${json_resp}=    RequestsLibrary.To_Json    ${resp.text}
     ${nodes_resp}=    Get From Dictionary    ${json_resp}    nodes
     ${node_resp}=    Get From Dictionary    ${nodes_resp}    node
     ${node_data}=    Get From List    ${node_resp}    0