Skip to content

Commit 254b864

Browse files
fix
1 parent bbf219b commit 254b864

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
@@ -614,7 +614,7 @@ def lambda_handler(event, context):
614614
def test_set_dsm_context_not_called_when_tracing_and_DSM_disabled(self):
615615
env_vars = {"DD_DATA_STREAMS_ENABLED": "false"}
616616
with patch.dict(os.environ, env_vars):
617-
with patch("datadog_lambda.wrapper.dd_tracing_enabled", True):
617+
with patch("datadog_lambda.wrapper.dd_tracing_enabled", False):
618618
with patch(
619619
"datadog_lambda.wrapper.set_dsm_context"
620620
) as set_dsm_context_patch:

0 commit comments

Comments
 (0)