diff --git a/aws/logs_monitoring/tests/test_awslogs_handler.py b/aws/logs_monitoring/tests/test_awslogs_handler.py index 24419441..ae30730b 100644 --- a/aws/logs_monitoring/tests/test_awslogs_handler.py +++ b/aws/logs_monitoring/tests/test_awslogs_handler.py @@ -157,7 +157,7 @@ def test_awslogs_handler_step_functions_tags_added_properly( } } awslogs_handler = AwsLogsHandler(context, metadata, cache_layer) - awslogs_handler.handle(event) + awslogs_handler.handle(eventFromCustomizedLogGroup) self.assertEqual( awslogs_handler.metadata[DD_SOURCE], AwsEventSource.STEPFUNCTION.value )