|
45 | 45 | _dsm_set_checkpoint, |
46 | 46 | _create_carrier_get, |
47 | 47 | extract_context_from_kinesis_event_and_set_dsm_checkpoint_if_enabled, |
48 | | - extract_context_from_sqs_or_sns_event_or_context_and_set_dsm_checkpoint_if_enabled, |
| 48 | + extract_context_from_sqs_or_sns_event_or_context_and_set_dsm_ckpt_if_enabled, |
49 | 49 | ) |
50 | 50 |
|
51 | 51 | from tests.utils import get_mock_context |
@@ -2564,7 +2564,7 @@ def test_sqs_event_with_datadog_message_attributes( |
2564 | 2564 | mock_context = Context(trace_id=12345, span_id=67890, sampling_priority=1) |
2565 | 2565 | mock_extract.return_value = mock_context |
2566 | 2566 |
|
2567 | | - result = extract_context_from_sqs_or_sns_event_or_context_and_set_dsm_checkpoint_if_enabled( |
| 2567 | + result = extract_context_from_sqs_or_sns_event_or_context_and_set_dsm_ckpt_if_enabled( |
2568 | 2568 | event, self.lambda_context |
2569 | 2569 | ) |
2570 | 2570 |
|
@@ -2597,7 +2597,7 @@ def test_sqs_event_with_binary_datadog_message_attributes( |
2597 | 2597 | mock_context = Context(trace_id=12345, span_id=67890, sampling_priority=1) |
2598 | 2598 | mock_extract.return_value = mock_context |
2599 | 2599 |
|
2600 | | - result = extract_context_from_sqs_or_sns_event_or_context_and_set_dsm_checkpoint_if_enabled( |
| 2600 | + result = extract_context_from_sqs_or_sns_event_or_context_and_set_dsm_ckpt_if_enabled( |
2601 | 2601 | event, self.lambda_context |
2602 | 2602 | ) |
2603 | 2603 |
|
@@ -2632,7 +2632,7 @@ def test_sns_event_with_datadog_message_attributes( |
2632 | 2632 | mock_context = Context(trace_id=12345, span_id=67890, sampling_priority=1) |
2633 | 2633 | mock_extract.return_value = mock_context |
2634 | 2634 |
|
2635 | | - result = extract_context_from_sqs_or_sns_event_or_context_and_set_dsm_checkpoint_if_enabled( |
| 2635 | + result = extract_context_from_sqs_or_sns_event_or_context_and_set_dsm_ckpt_if_enabled( |
2636 | 2636 | event, self.lambda_context |
2637 | 2637 | ) |
2638 | 2638 |
|
@@ -2665,7 +2665,7 @@ def test_sqs_event_determines_is_sqs_true_when_event_source_arn_present( |
2665 | 2665 | mock_context = Context(trace_id=12345, span_id=67890, sampling_priority=1) |
2666 | 2666 | mock_extract.return_value = mock_context |
2667 | 2667 |
|
2668 | | - result = extract_context_from_sqs_or_sns_event_or_context_and_set_dsm_checkpoint_if_enabled( |
| 2668 | + result = extract_context_from_sqs_or_sns_event_or_context_and_set_dsm_ckpt_if_enabled( |
2669 | 2669 | event, self.lambda_context |
2670 | 2670 | ) |
2671 | 2671 |
|
@@ -2706,7 +2706,7 @@ def test_sns_to_sqs_event_detection_and_processing( |
2706 | 2706 | mock_context = Context(trace_id=12345, span_id=67890, sampling_priority=1) |
2707 | 2707 | mock_extract.return_value = mock_context |
2708 | 2708 |
|
2709 | | - result = extract_context_from_sqs_or_sns_event_or_context_and_set_dsm_checkpoint_if_enabled( |
| 2709 | + result = extract_context_from_sqs_or_sns_event_or_context_and_set_dsm_ckpt_if_enabled( |
2710 | 2710 | event, self.lambda_context |
2711 | 2711 | ) |
2712 | 2712 |
|
|
0 commit comments