Skip to content

Commit 8fdd9c8

Browse files
fix
1 parent b19baae commit 8fdd9c8

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
@@ -577,7 +577,7 @@ def lambda_handler(event, context):
577577

578578
result = lambda_handler({}, get_mock_context())
579579
assert result == "ok"
580-
assert set_dsm_context_patch.called_once()
580+
assert set_dsm_context_patch.call_count == 1
581581

582582
def test_set_dsm_context_not_called_when_only_DSM_enabled(self):
583583
env_vars = {"DD_DATA_STREAMS_ENABLED": "true"}

0 commit comments

Comments
 (0)