From e57204b998d1b00b96c7029337fc99e956209655 Mon Sep 17 00:00:00 2001 From: Santiago Garcia Arango Date: Fri, 18 Oct 2024 23:53:52 -0500 Subject: [PATCH] WIP: minor unit test fix --- tests/unit/cdk/test_cdk_chatbot_api_stack.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/unit/cdk/test_cdk_chatbot_api_stack.py b/tests/unit/cdk/test_cdk_chatbot_api_stack.py index c20355b..f600f27 100644 --- a/tests/unit/cdk/test_cdk_chatbot_api_stack.py +++ b/tests/unit/cdk/test_cdk_chatbot_api_stack.py @@ -16,7 +16,8 @@ app_config={ "deployment_environment": "test", "log_level": "DEBUG", - "table_name": "aws-whatsapp-poc-test", + "table_name": "aws-whatsapp-poc-test1", + "calendar_events_table_name": "aws-whatsapp-poc-test2", "api_gw_name": "wpp-test", "secret_name": "test-secret", "meta_endpoint": "https://fake-endpoint.com", @@ -33,14 +34,14 @@ def test_dynamodb_table_created(): match = template.find_resources( type="AWS::DynamoDB::Table", ) - assert len(match) == 1 + assert len(match) == 2 def test_lambda_function_created(): match = template.find_resources( type="AWS::Lambda::Function", ) - assert len(match) == 3 + assert len(match) == 4 def test_api_gateway_created():