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 @@ -187,12 +187,13 @@ def test_sns_multiple_records_process_each_record(self):
187
187
"_datadog" : {
188
188
"Type" : "Binary" ,
189
189
"Value" : base64 .b64encode (
190
- json .dumps ({"dd-pathway-ctx-base64" : "context1" })
191
- .encode ("utf-8" )
192
- ).decode ("utf-8" )
190
+ json .dumps (
191
+ {"dd-pathway-ctx-base64" : "context1" }
192
+ ).encode ("utf-8" )
193
+ ).decode ("utf-8" ),
193
194
}
194
195
},
195
- }
196
+ },
196
197
},
197
198
{
198
199
"EventSource" : "aws:sns" ,
@@ -203,12 +204,13 @@ def test_sns_multiple_records_process_each_record(self):
203
204
"_datadog" : {
204
205
"Type" : "Binary" ,
205
206
"Value" : base64 .b64encode (
206
- json .dumps ({"dd-pathway-ctx-base64" : "context2" })
207
- .encode ("utf-8" )
208
- ).decode ("utf-8" )
207
+ json .dumps (
208
+ {"dd-pathway-ctx-base64" : "context2" }
209
+ ).encode ("utf-8" )
210
+ ).decode ("utf-8" ),
209
211
}
210
212
},
211
- }
213
+ },
212
214
},
213
215
{
214
216
"EventSource" : "aws:sns" ,
@@ -219,12 +221,13 @@ def test_sns_multiple_records_process_each_record(self):
219
221
"_datadog" : {
220
222
"Type" : "Binary" ,
221
223
"Value" : base64 .b64encode (
222
- json .dumps ({"dd-pathway-ctx-base64" : "context3" })
223
- .encode ("utf-8" )
224
- ).decode ("utf-8" )
224
+ json .dumps (
225
+ {"dd-pathway-ctx-base64" : "context3" }
226
+ ).encode ("utf-8" )
227
+ ).decode ("utf-8" ),
225
228
}
226
229
},
227
- }
230
+ },
228
231
},
229
232
]
230
233
}
You can’t perform that action at this time.
0 commit comments