Skip to content

Commit

Permalink
WIP: minor unit test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
san99tiago committed Oct 19, 2024
1 parent 24176fa commit e57204b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/unit/cdk/test_cdk_chatbot_api_stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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():
Expand Down

0 comments on commit e57204b

Please sign in to comment.