def reset_user_password(self, username): secClient1 = SecurityClient(base_url, username1, password1) try: secClient1.reset_user_password(username) except Exception, exception: message = exception #"User password not reset succesfully" raise AssertionError(message)
def reset_user_password(self, username): secClient1 = SecurityClient(base_url, username1, password1, 'xml') try: secClient1.reset_user_password(username) except Exception, exception: message = exception raise AssertionError(message)