Code Review
/
integration
/
test.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
cleaning up system variables
[integration/test.git]
/
csit
/
suites
/
sxp
/
basic
/
010_Restconf_OK.robot
diff --git
a/csit/suites/sxp/basic/010_Restconf_OK.robot
b/csit/suites/sxp/basic/010_Restconf_OK.robot
index 5c235baedc8c46ec6ef27d04d96017ac7e985212..ce54d661d8310a05715c700d7f122790693a0081 100644
(file)
--- a/
csit/suites/sxp/basic/010_Restconf_OK.robot
+++ b/
csit/suites/sxp/basic/010_Restconf_OK.robot
@@
-1,18
+1,16
@@
*** Settings ***
Documentation Test suite to verify Restconf is OK
*** Settings ***
Documentation Test suite to verify Restconf is OK
-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
Variables ../../../variables/Variables.py
*** Variables ***
Suite Teardown Delete All Sessions
Library RequestsLibrary
Variables ../../../variables/Variables.py
*** Variables ***
-${REST_CONTEXT} /restconf/modules
*** Test Cases ***
Get Controller Modules
[Documentation] Get the controller modules via Restconf
*** Test Cases ***
Get Controller Modules
[Documentation] Get the controller modules via Restconf
- ${resp} RequestsLibrary.Get
session ${REST_CONTEXT
}
+ ${resp} RequestsLibrary.Get
Request session ${MODULES_API
}
Log ${resp.content}
Should Be Equal As Strings ${resp.status_code} 200
Should Contain ${resp.content} ietf-restconf
Log ${resp.content}
Should Be Equal As Strings ${resp.status_code} 200
Should Contain ${resp.content} ietf-restconf
-