aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/tests/clamp/UIs/03__Verify_UI_Models.robot
diff options
context:
space:
mode:
authorehautot <eh552t@intl.att.com>2018-04-06 19:07:02 +0200
committerehautot <eh552t@intl.att.com>2018-04-06 19:39:58 +0200
commit7e5552d8bd205f76089ca20f4c68c31f9daab0c6 (patch)
tree2bb3580ecdcbbbc5e087bb9b19320af6172bfda9 /test/csit/tests/clamp/UIs/03__Verify_UI_Models.robot
parent44ef19e5676b0e5ea844f8d84fefd89340419025 (diff)
Add more tests to CSIT
Change-Id: I6e53e577fe518f4e0df6135643d9c84ded604712 Signed-off-by: ehautot <eh552t@intl.att.com> Issue-ID: CLAMP-35
Diffstat (limited to 'test/csit/tests/clamp/UIs/03__Verify_UI_Models.robot')
-rw-r--r--test/csit/tests/clamp/UIs/03__Verify_UI_Models.robot10
1 files changed, 7 insertions, 3 deletions
diff --git a/test/csit/tests/clamp/UIs/03__Verify_UI_Models.robot b/test/csit/tests/clamp/UIs/03__Verify_UI_Models.robot
index 634d171ba..70cbf1262 100644
--- a/test/csit/tests/clamp/UIs/03__Verify_UI_Models.robot
+++ b/test/csit/tests/clamp/UIs/03__Verify_UI_Models.robot
@@ -4,9 +4,13 @@ Library RequestsLibrary
Library OperatingSystem
Library json
+*** Variables ***
+${login} admin
+${passw} password
+
*** Test Cases ***
Verify HolmesModel1
- ${auth}= Create List admin password
+ ${auth}= Create List ${login} ${passw}
Create Session clamp http://localhost:8080 auth=${auth}
${resp}= Get Request clamp /restservices/clds/v1/clds/model/HolmesModel1
Should Contain Match ${resp} *templateHolmes1*
@@ -21,7 +25,7 @@ Verify HolmesModel1
Should Contain Match ${resp} *config Policy Name1*
Verify TCAModel1
- ${auth}= Create List admin password
+ ${auth}= Create List ${login} ${passw}
Create Session clamp http://localhost:8080 auth=${auth}
${resp}= Get Request clamp /restservices/clds/v1/clds/model/TCAModel1
Should Contain Match ${resp} *templateTCA1*
@@ -35,7 +39,7 @@ Verify TCAModel1
Should Contain Match ${resp} *400*
Get model names
- ${auth}= Create List admin password
+ ${auth}= Create List ${login} ${passw}
Create Session clamp http://localhost:8080 auth=${auth}
${resp}= Get Request clamp /restservices/clds/v1/clds/model-names
Should Contain Match ${resp} *HolmesModel1*