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):
4545 self .mock_inject_correlation_ids = patcher .start ()
4646 self .addCleanup (patcher .stop )
4747
48- patcher = patch ("datadog_lambda.wrapper.patch_all" )
49- self .mock_patch_all = patcher .start ()
50- self .addCleanup (patcher .stop )
51-
5248 patcher = patch ("datadog_lambda.tags.get_cold_start_tag" )
5349 self .mock_get_cold_start_tag = patcher .start ()
5450 self .mock_get_cold_start_tag .return_value = "cold_start:true"
@@ -117,7 +113,6 @@ def lambda_handler(event, context):
117113 )
118114 self .mock_set_correlation_ids .assert_called ()
119115 self .mock_inject_correlation_ids .assert_called ()
120- self .mock_patch_all .assert_called ()
121116
122117 def test_datadog_lambda_wrapper_flush_to_log (self ):
123118 os .environ ["DD_FLUSH_TO_LOG" ] = "True"
@@ -487,7 +482,6 @@ def lambda_handler(event, context):
487482
488483 lambda_handler_double_wrapped (lambda_event , get_mock_context ())
489484
490- self .mock_patch_all .assert_called_once ()
491485 self .mock_submit_invocations_metric .assert_called_once ()
492486
493487 def test_dd_requests_service_name_default (self ):
You can’t perform that action at this time.
0 commit comments