Skip to content

Commit 6b0eed8

Browse files
committed
patch right call
1 parent 96d3df0 commit 6b0eed8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ def lambda_handler(event, context):
470470
self.mock_write_metric_point_to_stdout.assert_not_called()
471471

472472
def test_only_one_wrapper_in_use(self):
473-
patcher = patch("datadog_lambda.wrapper.submit_invocations_metric")
473+
patcher = patch("datadog_lambda.metric.submit_invocations_metric")
474474
self.mock_submit_invocations_metric = patcher.start()
475475
self.addCleanup(patcher.stop)
476476

0 commit comments

Comments
 (0)