X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=robot-systest%2Flib%2Fproject_lib.robot;h=ae4f5cc82404a443285c3e9c83103790c90e62cb;hb=2f132f62053d783f45dd7601374e22b6c4432fda;hp=916730d4025c1e80248fa0a465e10b526a25077a;hpb=da7fdb4a4013397c4b47cbe76b57ae74307e16f1;p=osm%2Ftests.git diff --git a/robot-systest/lib/project_lib.robot b/robot-systest/lib/project_lib.robot index 916730d..ae4f5cc 100644 --- a/robot-systest/lib/project_lib.robot +++ b/robot-systest/lib/project_lib.robot @@ -15,6 +15,16 @@ ${success_return_code} 0 *** Keywords *** +Create Project + [Arguments] ${project_name} + + Should Not Be Empty ${project_name} + ${rc} ${stdout}= Run and Return RC and Output osm project-create ${project_name} + Log ${stdout} + Should Be Equal As Integers ${rc} ${success_return_code} + [Return] ${stdout} + + Create Project With Quotas [Arguments] ${project_name} ${project_quotas}