Fix Get On Session errors 10/103710/3
authorSangwook Ha <sangwook.ha@verizon.com>
Tue, 20 Dec 2022 06:32:05 +0000 (22:32 -0800)
committerSangwook Ha <sangwook.ha@verizon.com>
Tue, 20 Dec 2022 07:24:21 +0000 (23:24 -0800)
commit2e535decaa53790a60bb17860553e56cae8c06df
tree9d97f2edce3d081f61902a23913ccc6813036974
parentf5be5440e8ef95263193ef4d26958198722e4e44
Fix Get On Session errors

'Get On Session' has different arguments and requirements but some of
the conversions from 'Get Request' to 'Get On Session' didn't take those
into account.

To prevent confusion that '=' is used for parameters when it is in fact
part of the URL path, specify 'url' a keyword argument, instead of
positional, and separate parameters into 'params' when possible.

Also, set 'odl-pretty-print' parameter for Phosphorus or later since it
is not available before the version. Accept any status code when there
is a separate step to check valid status codes.

Change-Id: Ibd41fe31090eb0406abd16e80b3e6168d424bc74
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
csit/libraries/TemplatedRequests.robot
csit/libraries/Utils.robot
csit/suites/netconf/KeyAuth/keyauth.robot
csit/suites/netconf/notifications/notifications_basic.robot
csit/suites/netconf/ready/netconfready.robot