Skip to content

Commit d849b75

Browse files
remove comments that are not needed
1 parent 9dca396 commit d849b75

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/test_tracing.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2859,7 +2859,6 @@ def test_sns_to_sqs_event_with_malformed_datadog_message_attributes(
28592859
def test_sqs_sns_event_with_exception_accessing_first_record(
28602860
self, mock_dsm_set_checkpoint, mock_extract_from_lambda_context
28612861
):
2862-
"""Test that arn is properly initialized to empty string when exception occur"""
28632862
event = {"Records": None}
28642863

28652864
mock_context = Context(trace_id=123, span_id=456)
@@ -2975,16 +2974,13 @@ def test_kinesis_event_with_malformed_data(
29752974
def test_kinesis_event_with_exception_accessing_first_record(
29762975
self, mock_dsm_set_checkpoint, mock_extract_from_lambda_context
29772976
):
2978-
"""Test that arn is properly initialized to empty string when exception occur"""
29792977
event = {"Records": None}
29802978

29812979
mock_context = Context(trace_id=123, span_id=456)
29822980
mock_extract_from_lambda_context.return_value = mock_context
29832981

29842982
result = extract_context_from_kinesis_event(event, self.lambda_context)
29852983

2986-
# Verify that _dsm_set_checkpoint is called with empty string for arn
2987-
# even when exception occurs
29882984
mock_dsm_set_checkpoint.assert_not_called()
29892985
mock_extract_from_lambda_context.assert_called_once_with(self.lambda_context)
29902986
self.assertEqual(result, mock_context)

0 commit comments

Comments
 (0)