diff --git a/src/python_testing/TC_DRLK_2_9.py b/src/python_testing/TC_DRLK_2_9.py index d71cbf0b232835..231486506f7067 100644 --- a/src/python_testing/TC_DRLK_2_9.py +++ b/src/python_testing/TC_DRLK_2_9.py @@ -210,7 +210,10 @@ async def get_user(self, userindex, username, useruniqueid, credentiallist, expe "Error when executing GetUserResponse command, userUniqueID={}".format( str(response.userUniqueID))) logging.info("Credentials value is GetUserResponse Command %s" % (str(response.credentials))) - # traverse through input credentials and match each value with the resonse credential + + asserts.assert_equal(len(credentiallist), len(response.credentials), "Error mismatch in expected credential from GetUserResponse command = {}".format( + str(credentiallist))) + # traverse through input credentials and match each value with the resonse credential for input_credential_index in range(len(credentiallist)): match_found = False for response_credential_index in range(len(response.credentials)):