unittest in python not working as expected

We are deploying the code in CI/CD fashion via Terraform. So, we have a lambda function under which I have written a code for retrieving the specific secret creds. Below is my lambda code: logger = get_provisioner_logger() session = boto3.session.Session() client = session.client( service_name="secretsmanager", region_name="" ) def lambda_handler(event, context): logger.info("lambda invoked with event: " +… Read More unittest in python not working as expected