mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 01:41:05 -05:00
Fix test that checks queues
This commit is contained in:
@@ -14,7 +14,10 @@ def test_queue_names_set_in_manifest_delivery_base_correctly():
|
|||||||
if start_of_queue_arg > 0:
|
if start_of_queue_arg > 0:
|
||||||
start_of_queue_names = start_of_queue_arg + len(search)
|
start_of_queue_names = start_of_queue_arg + len(search)
|
||||||
queues = command[start_of_queue_names:].split(',')
|
queues = command[start_of_queue_names:].split(',')
|
||||||
watched_queues.update(queues)
|
for q in queues:
|
||||||
|
if "2>" in q:
|
||||||
|
q = q.split("2>")[0].strip()
|
||||||
|
watched_queues.add(q)
|
||||||
|
|
||||||
# ses-callbacks isn't used in api (only used in SNS lambda)
|
# ses-callbacks isn't used in api (only used in SNS lambda)
|
||||||
ignored_queues = {'ses-callbacks'}
|
ignored_queues = {'ses-callbacks'}
|
||||||
|
|||||||
Reference in New Issue
Block a user