File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -45,10 +45,6 @@ def setUp(self):
45
45
self .mock_inject_correlation_ids = patcher .start ()
46
46
self .addCleanup (patcher .stop )
47
47
48
- patcher = patch ("datadog_lambda.wrapper.patch_all" )
49
- self .mock_patch_all = patcher .start ()
50
- self .addCleanup (patcher .stop )
51
-
52
48
patcher = patch ("datadog_lambda.tags.get_cold_start_tag" )
53
49
self .mock_get_cold_start_tag = patcher .start ()
54
50
self .mock_get_cold_start_tag .return_value = "cold_start:true"
@@ -117,7 +113,6 @@ def lambda_handler(event, context):
117
113
)
118
114
self .mock_set_correlation_ids .assert_called ()
119
115
self .mock_inject_correlation_ids .assert_called ()
120
- self .mock_patch_all .assert_called ()
121
116
122
117
def test_datadog_lambda_wrapper_flush_to_log (self ):
123
118
os .environ ["DD_FLUSH_TO_LOG" ] = "True"
@@ -487,7 +482,6 @@ def lambda_handler(event, context):
487
482
488
483
lambda_handler_double_wrapped (lambda_event , get_mock_context ())
489
484
490
- self .mock_patch_all .assert_called_once ()
491
485
self .mock_submit_invocations_metric .assert_called_once ()
492
486
493
487
def test_dd_requests_service_name_default (self ):
You can’t perform that action at this time.
0 commit comments