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
Adapt netconf device configuration in daexim CSIT
[integration/test.git]
/
csit
/
suites
/
l2switch
/
Inventory_Scalability_OF13
/
020__restconf_topology.robot
diff --git
a/csit/suites/l2switch/Inventory_Scalability_OF13/020__restconf_topology.robot
b/csit/suites/l2switch/Inventory_Scalability_OF13/020__restconf_topology.robot
index e4d3258c73d345989ad0e8cc418478c0170f2cf2..7381f6fe76beb2d27ddbae0e1094fc1ee834a3ee 100644
(file)
--- a/
csit/suites/l2switch/Inventory_Scalability_OF13/020__restconf_topology.robot
+++ b/
csit/suites/l2switch/Inventory_Scalability_OF13/020__restconf_topology.robot
@@
-12,7
+12,7
@@
Suite Teardown Delete All Sessions
*** Variables ***
*** Variables ***
-${REST_CONTEXT} /rest
conf/operational/network-topology:network-topology/topology/flow:1
+${REST_CONTEXT} /rest
s/data/network-topology:network-topology/topology=flow%3A1?content=nonconfig
*** Test Cases ***
*** Test Cases ***
@@
-35,8
+35,11
@@
Get Links Count
*** Keywords ***
Verify Element Count
[Arguments] ${URI} ${xpath_location} ${expected_count}
*** Keywords ***
Verify Element Count
[Arguments] ${URI} ${xpath_location} ${expected_count}
- ${resp} RequestsLibrary.Get Request session ${REST_CONTEXT} headers=${ACCEPT_XML}
+ ${resp} RequestsLibrary.GET On Session
+ ... session
+ ... url=${REST_CONTEXT}
+ ... headers=${ACCEPT_XML}
+ ... expected_status=200
Log ${resp.content}
Log ${resp.content}
- Should Be Equal As Strings ${resp.status_code} 200
${count} Get Element Count ${resp.content} xpath=${xpath_location}
Should Be Equal As Numbers ${count} ${expected_count}
${count} Get Element Count ${resp.content} xpath=${xpath_location}
Should Be Equal As Numbers ${count} ${expected_count}