Robot coding guideline fixes
Changes:
- Fix line char 110 exceeding.
Change-Id: Ic5d49b867ace46724abe72ae3629369952606733
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/redfish/account_service/test_ldap_configuration.robot b/redfish/account_service/test_ldap_configuration.robot
index eac05e7..3c07926 100644
--- a/redfish/account_service/test_ldap_configuration.robot
+++ b/redfish/account_service/test_ldap_configuration.robot
@@ -87,8 +87,10 @@
[Documentation] Verify that invalid AuthenticationType is not updated.
[Tags] Verify_LDAP_Update_With_Incorrect_AuthenticationType
+ ${body}= Catenate {'${ldap_type}': {'Authentication': {'AuthenticationType':'KerberosKeytab'}}}
+ ... valid_status_codes=[400]
Redfish.Patch ${REDFISH_BASE_URI}AccountService
- ... body={'${ldap_type}': {'Authentication': {'AuthenticationType':'KerberosKeytab'}}} valid_status_codes=[400]
+ ... body=${body}
Verify LDAP Login With Correct LDAP URL
@@ -481,8 +483,18 @@
# ldap_bind_dn_password The LDAP bind distinguished name password.
# ldap_base_dn The LDAP base distinguished name.
- Redfish.Patch ${REDFISH_BASE_URI}AccountService
- ... body={'${ldap_type}': {'ServiceEnabled': ${True}, 'ServiceAddresses': ['${ldap_server_uri}'], 'Authentication': {'AuthenticationType':'UsernameAndPassword', 'Username':'${ldap_bind_dn}', 'Password':'${ldap_bind_dn_password}'}, 'LDAPService': {'SearchSettings': {'BaseDistinguishedNames': ['${ldap_base_dn}']}}}}
+ ${body}= Catenate {'${ldap_type}':
+ ... {'ServiceEnabled': ${True},
+ ... 'ServiceAddresses': ['${ldap_server_uri}'],
+ ... 'Authentication':
+ ... {'AuthenticationType': 'UsernameAndPassword',
+ ... 'Username':'${ldap_bind_dn}',
+ ... 'Password': '${ldap_bind_dn_password}'},
+ ... 'LDAPService':
+ ... {'SearchSettings':
+ ... {'BaseDistinguishedNames': ['${ldap_base_dn}']}}}}
+
+ Redfish.Patch ${REDFISH_BASE_URI}AccountService body=${body}
Sleep 15s