Admin user ssh test case changes to expectation

Changes:
    - Modify test case to handle use case where admin user
      ssh is allowed and not allowed

Tested:
   - Ran from sandbox and tested.
     By default  SSH access test is allowed set to True
     User can change the behaviour of this test case by
     passing via CLI  -v ssh_access:False

Change-Id: I2d42dbcc4ce3e5d59900b137ca19bcc2d5d642c0
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/redfish/account_service/test_user_account.robot b/redfish/account_service/test_user_account.robot
index 39171c9..793ff97 100644
--- a/redfish/account_service/test_user_account.robot
+++ b/redfish/account_service/test_user_account.robot
@@ -16,6 +16,8 @@
 ${account_lockout_duration}   ${30}
 ${account_lockout_threshold}  ${3}
 
+${ssh_status}                 ${True}
+
 ** Test Cases **
 
 Verify AccountService Available
@@ -503,7 +505,10 @@
 
 
 Verify SSH Login Access With Admin User
-    [Documentation]  Verify that admin user does not have SSH login access.
+    [Documentation]  Verify that admin user have SSH login access.
+    ...              By default, admin should have access but there could be
+    ...              case where admin user shell access is restricted by design
+    ...              in the community sphere..
     [Tags]  Verify_SSH_Login_Access_With_Admin_User
 
     # Create an admin User.
@@ -512,7 +517,10 @@
     # Attempt SSH login with admin user.
     SSHLibrary.Open Connection  ${OPENBMC_HOST}
     ${status}=  Run Keyword And Return Status  SSHLibrary.Login  new_admin  TestPwd1
-    Should Be Equal  ${status}  ${False}
+
+    # By default ssh_status is True, user can change the status via CLI
+    # -v ssh_status:False
+    Should Be Equal As Strings  "${status}"  "${ssh_status}"
 
     Redfish.Login
     Redfish.Delete  /redfish/v1/AccountService/Accounts/new_admin