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
Updated Test references to "Library RequestsLibrary"
[integration/test.git]
/
test
/
csit
/
suites
/
openflowplugin
/
Groups_Meters_OF13
/
010__openflow_meter.robot
diff --git
a/test/csit/suites/openflowplugin/Groups_Meters_OF13/010__openflow_meter.robot
b/test/csit/suites/openflowplugin/Groups_Meters_OF13/010__openflow_meter.robot
index 46f33be275f53439b91ba9704df3d37f666717a6..f7d00c75f3dfd2856df8b75d5f3448debf62e721 100644
(file)
--- a/
test/csit/suites/openflowplugin/Groups_Meters_OF13/010__openflow_meter.robot
+++ b/
test/csit/suites/openflowplugin/Groups_Meters_OF13/010__openflow_meter.robot
@@
-5,7
+5,7
@@
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
Library OperatingSystem
Library SSHLibrary
Library Collections
Library OperatingSystem
-Library
../../../libraries/RequestsLibrary.p
y
+Library
RequestsLibrar
y
Library ../../../libraries/Common.py
Variables ../../../variables/Variables.py
Resource ../../../libraries/Utils.robot
Library ../../../libraries/Common.py
Variables ../../../variables/Variables.py
Resource ../../../libraries/Utils.robot
@@
-30,7
+30,7
@@
Add a meter
[Tags] Push
${body} OperatingSystem.Get File ${METER}
Set Suite Variable ${body}
[Tags] Push
${body} OperatingSystem.Get File ${METER}
Set Suite Variable ${body}
- ${resp}
Putxml session ${REST_CONTEXT_CF}/meter/1
data=${body}
+ ${resp}
RequestsLibrary.Put session ${REST_CONTEXT_CF}/meter/1 headers=${HEADERS_XML}
data=${body}
Log ${resp.content}
Should Be Equal As Strings ${resp.status_code} 200
Log ${resp.content}
Should Be Equal As Strings ${resp.status_code} 200
@@
-51,7
+51,7
@@
Add a flow that includes a meter
[Tags] Push
${body} OperatingSystem.Get File ${FLOW}
Set Suite Variable ${body}
[Tags] Push
${body} OperatingSystem.Get File ${FLOW}
Set Suite Variable ${body}
- ${resp}
Putxml session ${REST_CONTEXT_CF}/table/0/flow/2
data=${body}
+ ${resp}
RequestsLibrary.Put session ${REST_CONTEXT_CF}/table/0/flow/2 headers=${HEADERS_XML}
data=${body}
Log ${resp.content}
Should Be Equal As Strings ${resp.status_code} 200
Log ${resp.content}
Should Be Equal As Strings ${resp.status_code} 200