Closed shairubin closed 3 months ago
seems like the issue is inside a dict -- see tests /home/shai/BridgewiseChatbot/lambdas/whatsapp-twilio/lambda_function_twilio.py happens 3 times in bridgewise
/home/shai/BridgewiseChatbot/qa_chatbot_automation/run_test_questions.py /home/shai/BridgewiseChatbot/lambdas/check_apis.py /home/shai/BridgewiseChatbot/lambdas/robo-analyst-feedback/lambda_function.py /home/shai/BridgewiseChatbot/lambdas/endpoint-detection-testing/lambda_function.py /home/shai/BridgewiseChatbot/lambdas/gpt-speed-monitoring/lambda_function.py
client_secret,
cognito_domain):
# Input params are credentials for AWS Cognito's user pool
token_request = {
'url': f'https://{cognito_domain}/oauth2/token',
'method': 'POST',
'auth': (client_id, client_secret),
'headers': {
'Content-Type': 'application/x-www-form-urlencoded'
},
'data': {
'grant_type': 'client_credentials'
}
}
tests that reproduced were added marked with issue number