cleaning up system variables
[integration/test.git] / csit / suites / usc / channel / USC_CHANNEL.robot
index 00cd23339073fdf162e7b69bcf3f965380488d9b..a69b1c54842f44ea525ff039918edf3fc4f561f9 100644 (file)
@@ -1,6 +1,6 @@
 *** Settings ***
 Documentation     Test suite for usc channel functionality
-Suite Setup       Create Session    session    http://${CONTROLLER}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS_XML}
+Suite Setup       Create Session    session    http://${ODL_SYSTEM_IP}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS_XML}
 Suite Teardown    Delete All Sessions
 Library           RequestsLibrary
 Library           ../../../libraries/Common.py
@@ -8,12 +8,11 @@ Variables         ../../../variables/Variables.py
 Resource          ../../../libraries/Utils.robot
 
 *** Variables ***
-${REST_CONTEXT}    /restconf/modules
 
 *** Test Cases ***
 Get Controller Modules
     [Documentation]    Get the controller modules via Restconf
-    ${resp}    RequestsLibrary.Get    session    ${REST_CONTEXT}
+    ${resp}    RequestsLibrary.Get    session    ${MODULES_API}
     Log    ${resp.content}
     Should Be Equal As Strings    ${resp.status_code}    200
     Should Contain    ${resp.content}    ietf-restconf