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):
190190 "_datadog" : {
191191 "Type" : "Binary" ,
192192 "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" ),
196197 }
197198 },
198- }
199+ },
199200 },
200201 {
201202 "EventSource" : "aws:sns" ,
@@ -206,12 +207,13 @@ def test_sns_multiple_records_process_each_record(self):
206207 "_datadog" : {
207208 "Type" : "Binary" ,
208209 "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" ),
212214 }
213215 },
214- }
216+ },
215217 },
216218 {
217219 "EventSource" : "aws:sns" ,
@@ -222,12 +224,13 @@ def test_sns_multiple_records_process_each_record(self):
222224 "_datadog" : {
223225 "Type" : "Binary" ,
224226 "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" ),
228231 }
229232 },
230- }
233+ },
231234 },
232235 ]
233236 }
You can’t perform that action at this time.
0 commit comments