Skip to content

Commit 2f484c7

Browse files
committed
Comments
1 parent beb5de7 commit 2f484c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

filenameprocessor/tests/test_lambda_handler.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,7 @@ def tearDown(self):
467467
GenericTearDown(s3_client, firehose_client, sqs_client, dynamodb_client)
468468

469469
def test_elasticcache_failure_handled(self):
470+
"Tests if elastic cache failure is handled when service fails to send message"
470471
event = {
471472
"s3": {
472473
"bucket": {"name": "my-config-bucket"}, # triggers 'config' branch
@@ -577,6 +578,7 @@ def tearDown(self):
577578
GenericTearDown(s3_client, firehose_client, sqs_client, dynamodb_client)
578579

579580
def test_unexpected_bucket_name(self):
581+
"""Tests if unkown bucket name is handled in lambda_handler"""
580582
record = {
581583
"s3": {
582584
"bucket": {"name": "unknown-bucket"},

0 commit comments

Comments
 (0)