Fix basic15 and quotas01 to follow pwd best practices introduced with feature 10941
[osm/tests.git] / robot-systest / testsuite / basic_15-rbac_configurations.robot
index 6cc62cc..a0341eb 100644 (file)
@@ -11,7 +11,7 @@
 #   limitations under the License.
 
 *** Settings ***
-Documentation     [BASIC-15] RBAC Configurations.
+Documentation   [BASIC-15] RBAC Configurations.
 
 Library   OperatingSystem
 Library   String
@@ -29,7 +29,7 @@ Suite Teardown   Run Keyword And Ignore Error   Suite Cleanup
 *** Variables ***
 # User, project and roles to use
 ${user_name}   basic_15_test_user
-${user_password}   basic_15_user_pass
+${user_password}   Basic_15_user_pass
 ${user_role}   project_user
 ${user_project}   admin
 ${project_name}   basic_15_test_project
@@ -47,9 +47,9 @@ Create And Validate User
 
 Assign Role To User
 
-    Update User Role   ${user_name}  ${user_project}  ${user_role}
+    Update User Role   ${user_name}   ${user_project}   ${user_role}
     Check If User Is Assigned To Project   ${user_name}   ${user_project}
-    Check If User Has Role   ${user_name}  ${user_role}  ${user_project}
+    Check If User Has Role   ${user_name}   ${user_role}   ${user_project}
 
 
 Run Action As User
@@ -86,7 +86,7 @@ Delete Allocated Resources
 
 *** Keywords ***
 Suite Cleanup
-    Run Keyword If Any Tests Failed  Run Keyword And Ignore Error  Delete User  ${user_name}
-    Run Keyword If Any Tests Failed  Run Keyword And Ignore Error  Delete Role  ${role_name}
-    Run Keyword If Any Tests Failed  Run Keyword And Ignore Error  Delete Project  ${project_name}
-    Run Keyword If Any Tests Failed  Run Keyword And Ignore Error  Delete Project  ${new_project_name}
+    Run Keyword If Any Tests Failed   Run Keyword And Ignore Error   Delete User   ${user_name}
+    Run Keyword If Any Tests Failed   Run Keyword And Ignore Error   Delete Role   ${role_name}
+    Run Keyword If Any Tests Failed   Run Keyword And Ignore Error   Delete Project   ${project_name}
+    Run Keyword If Any Tests Failed   Run Keyword And Ignore Error   Delete Project   ${new_project_name}