File tree Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -190,12 +190,13 @@ def test_sns_multiple_records_process_each_record(self):
190
190
"_datadog" : {
191
191
"Type" : "Binary" ,
192
192
"Value" : base64 .b64encode (
193
- json .dumps ({"dd-pathway-ctx-base64" : "context1" })
194
- .encode ("utf-8" )
195
- ).decode ("utf-8" )
193
+ json .dumps (
194
+ {"dd-pathway-ctx-base64" : "context1" }
195
+ ).encode ("utf-8" )
196
+ ).decode ("utf-8" ),
196
197
}
197
198
},
198
- }
199
+ },
199
200
},
200
201
{
201
202
"EventSource" : "aws:sns" ,
@@ -206,12 +207,13 @@ def test_sns_multiple_records_process_each_record(self):
206
207
"_datadog" : {
207
208
"Type" : "Binary" ,
208
209
"Value" : base64 .b64encode (
209
- json .dumps ({"dd-pathway-ctx-base64" : "context2" })
210
- .encode ("utf-8" )
211
- ).decode ("utf-8" )
210
+ json .dumps (
211
+ {"dd-pathway-ctx-base64" : "context2" }
212
+ ).encode ("utf-8" )
213
+ ).decode ("utf-8" ),
212
214
}
213
215
},
214
- }
216
+ },
215
217
},
216
218
{
217
219
"EventSource" : "aws:sns" ,
@@ -222,12 +224,13 @@ def test_sns_multiple_records_process_each_record(self):
222
224
"_datadog" : {
223
225
"Type" : "Binary" ,
224
226
"Value" : base64 .b64encode (
225
- json .dumps ({"dd-pathway-ctx-base64" : "context3" })
226
- .encode ("utf-8" )
227
- ).decode ("utf-8" )
227
+ json .dumps (
228
+ {"dd-pathway-ctx-base64" : "context3" }
229
+ ).encode ("utf-8" )
230
+ ).decode ("utf-8" ),
228
231
}
229
232
},
230
- }
233
+ },
231
234
},
232
235
]
233
236
}
You can’t perform that action at this time.
0 commit comments