Skip to content

Commit aa0f2c3

Browse files
committed
a
1 parent 1a3d2c0 commit aa0f2c3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

delta_backend/tests/test_delta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class DeltaTestCase(unittest.TestCase):
77

88
@patch("src.delta.firehose_logger") # Mock the firehose_logger instance in delta.py
99
def test_handler(self, mock_firehose_logger):
10-
# Arrange
10+
""" it should handle delta event """
1111
event = {"text": "hello world"}
1212

1313
# Mock the send_log method

delta_backend/tests/test_log_firehose.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ class TestFirehoseLogger(unittest.TestCase):
88

99
@patch("boto3.client")
1010
def test_send_log(self, mock_boto_client):
11+
"""it should send log message to Firehose"""
12+
1113
# Create a mock boto3 client and mock the put_record response
1214
mock_response = {
1315
"RecordId": "shardId-000000000000000000000001",

0 commit comments

Comments
 (0)