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):
187187 "_datadog" : {
188188 "Type" : "Binary" ,
189189 "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" ),
193194 }
194195 },
195- }
196+ },
196197 },
197198 {
198199 "EventSource" : "aws:sns" ,
@@ -203,12 +204,13 @@ def test_sns_multiple_records_process_each_record(self):
203204 "_datadog" : {
204205 "Type" : "Binary" ,
205206 "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" ),
209211 }
210212 },
211- }
213+ },
212214 },
213215 {
214216 "EventSource" : "aws:sns" ,
@@ -219,12 +221,13 @@ def test_sns_multiple_records_process_each_record(self):
219221 "_datadog" : {
220222 "Type" : "Binary" ,
221223 "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" ),
225228 }
226229 },
227- }
230+ },
228231 },
229232 ]
230233 }
You can’t perform that action at this time.
0 commit comments