We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a3d2c0 commit aa0f2c3Copy full SHA for aa0f2c3
delta_backend/tests/test_delta.py
@@ -7,7 +7,7 @@ class DeltaTestCase(unittest.TestCase):
7
8
@patch("src.delta.firehose_logger") # Mock the firehose_logger instance in delta.py
9
def test_handler(self, mock_firehose_logger):
10
- # Arrange
+ """ it should handle delta event """
11
event = {"text": "hello world"}
12
13
# Mock the send_log method
delta_backend/tests/test_log_firehose.py
@@ -8,6 +8,8 @@ class TestFirehoseLogger(unittest.TestCase):
@patch("boto3.client")
def test_send_log(self, mock_boto_client):
+ """it should send log message to Firehose"""
+
# Create a mock boto3 client and mock the put_record response
14
mock_response = {
15
"RecordId": "shardId-000000000000000000000001",
0 commit comments