Skip to content

Commit 202b5be

Browse files
committed
CMR-10388: Removing commented out code.
1 parent afea885 commit 202b5be

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

subscription/test/subscription_worker_test.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -56,21 +56,6 @@ def test_process_messages(self, mock_access_control, mock_sns):
5656

5757
mock_access_control_instance.has_read_permission.return_value = True
5858

59-
# messages = {'Messages': [{'Body': {'Type': 'Notification',
60-
# 'MessageId': 'dfb70dfe-6f63-5cfc-9a5f-6dc731b504de',
61-
# 'TopicArn': 'arn:name',
62-
# 'Subject': 'Update Notification',
63-
# 'Message': '{"concept-id": "G1200484365-PROV", "granule-ur": "gnss.rnx.gz.json", "producer-granule-id": "gnss.rnx.gz", "location": "http://localhost:3003/concepts/G1200484365-PROV/4"}',
64-
# 'Timestamp': '2025-02-26T18:25:26.951Z',
65-
# 'SignatureVersion': '1',
66-
# 'Signature': 'HIQ==',
67-
# 'SigningCertURL': 'https://sns.region.amazonaws.com/SNS-9.pem',
68-
# 'UnsubscribeURL': 'https://sns.region.amazonaws.com/?Ac',
69-
# 'MessageAttributes': {'mode': {'Type': 'String', 'Value': 'Update'},
70-
# 'collection-concept-id': {'Type': 'String', 'Value': 'C1200484363-PROV'},
71-
# 'endpoint': {'Type': 'String', 'Value': 'http://notification/tester'},
72-
# 'subscriber': {'Type': 'String', 'Value': 'user1_test'},
73-
# 'endpoint-type': {'Type': 'String', 'Value': 'url'}}}}]}
7459
messages = {
7560
'Messages': [{
7661
'Body': json.dumps({

0 commit comments

Comments
 (0)