Skip to content

Commit f729649

Browse files
fix
1 parent 45ed35f commit f729649

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

tests/test_dsm.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ def test_sqs_multiple_records_process_each_record(self):
7575
"body": "Message 1",
7676
"messageAttributes": {
7777
"_datadog": {
78-
"stringValue": json.dumps({"dd-pathway-ctx-base64": "context1"}),
78+
"stringValue": json.dumps(
79+
{"dd-pathway-ctx-base64": "context1"}
80+
),
7981
"dataType": "String",
8082
}
8183
},
@@ -85,7 +87,9 @@ def test_sqs_multiple_records_process_each_record(self):
8587
"body": "Message 2",
8688
"messageAttributes": {
8789
"_datadog": {
88-
"stringValue": json.dumps({"dd-pathway-ctx-base64": "context2"}),
90+
"stringValue": json.dumps(
91+
{"dd-pathway-ctx-base64": "context2"}
92+
),
8993
"dataType": "String",
9094
}
9195
},
@@ -95,7 +99,9 @@ def test_sqs_multiple_records_process_each_record(self):
9599
"body": "Message 3",
96100
"messageAttributes": {
97101
"_datadog": {
98-
"stringValue": json.dumps({"dd-pathway-ctx-base64": "context3"}),
102+
"stringValue": json.dumps(
103+
{"dd-pathway-ctx-base64": "context3"}
104+
),
99105
"dataType": "String",
100106
}
101107
},

0 commit comments

Comments
 (0)