Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e3584a0

Browse files
rubenfonsecaleandrodamascena
andauthoredApr 15, 2024
Apply suggestions from code review
Co-authored-by: Leandro Damascena <[email protected]> Signed-off-by: Ruben Fonseca <[email protected]>
1 parent 82a5ba8 commit e3584a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎tests/unit/data_classes/test_sqs_event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def test_sqs_dlq_trigger_event():
6767
assert attributes.message_deduplication_id is None
6868
assert (
6969
attributes.dead_letter_queue_source_arn
70-
== "arn:aws:sqs:eu-central-1:123456789012:sqs-redrive-SampleQueue-RNvLCpwGmLi7"
70+
== raw_attributes["DeadLetterQueueSourceArn"]
7171
)
7272

7373

‎tests/unit/parser/test_sqs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,5 +119,5 @@ def test_sqs_dlq_trigger_event():
119119

120120
assert (
121121
attributes.DeadLetterQueueSourceArn
122-
== "arn:aws:sqs:eu-central-1:123456789012:sqs-redrive-SampleQueue-RNvLCpwGmLi7"
122+
== raw_record["attributes"]["DeadLetterQueueSourceArn"]
123123
)

0 commit comments

Comments
 (0)
Please sign in to comment.