X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=robot-systest%2Flib%2Fuser_lib.robot;h=4e5893c114ca8b6ca487335ffff0e639ede932b8;hb=23ff8f980f66ef57fb4d254336a018e3a697a187;hp=b786a9f41134599635e18d26a09cdcb4078aef44;hpb=f4ebaa88025189ede4f073ab8a1f27c95efff867;p=osm%2Ftests.git diff --git a/robot-systest/lib/user_lib.robot b/robot-systest/lib/user_lib.robot index b786a9f..4e5893c 100644 --- a/robot-systest/lib/user_lib.robot +++ b/robot-systest/lib/user_lib.robot @@ -26,6 +26,17 @@ Create User [Return] ${stdout} +Update User Password + [Arguments] ${user_name} ${user_password} ${user_new_password} + + Should Not Be Empty ${user_name} + Should Not Be Empty ${user_password} + Should Not Be Empty ${user_new_password} + ${rc} ${stdout}= Run and Return RC and Output osm user-update ${user_name} --current-password ${user_password} --new-password ${user_new_password} + Log ${stdout} + Should Be Equal As Integers ${rc} ${success_return_code} + + Update User Role [Arguments] ${user_name} ${project_name} ${role_name}