mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 23:55:58 -05:00
Improved code style
This commit is contained in:
@@ -64,14 +64,15 @@ def test_queue_names_all_queues_correct():
|
|||||||
# Need to ensure that all_queues() only returns queue names used in API
|
# Need to ensure that all_queues() only returns queue names used in API
|
||||||
queues = QueueNames.all_queues()
|
queues = QueueNames.all_queues()
|
||||||
assert len(queues) == 10
|
assert len(queues) == 10
|
||||||
assert set([QueueNames.PRIORITY,
|
assert set([
|
||||||
QueueNames.PERIODIC,
|
QueueNames.PRIORITY,
|
||||||
QueueNames.DATABASE,
|
QueueNames.PERIODIC,
|
||||||
QueueNames.SEND_SMS,
|
QueueNames.DATABASE,
|
||||||
QueueNames.SEND_EMAIL,
|
QueueNames.SEND_SMS,
|
||||||
QueueNames.RESEARCH_MODE,
|
QueueNames.SEND_EMAIL,
|
||||||
QueueNames.STATISTICS,
|
QueueNames.RESEARCH_MODE,
|
||||||
QueueNames.JOBS,
|
QueueNames.STATISTICS,
|
||||||
QueueNames.RETRY,
|
QueueNames.JOBS,
|
||||||
QueueNames.NOTIFY
|
QueueNames.RETRY,
|
||||||
]) == set(queues)
|
QueueNames.NOTIFY
|
||||||
|
]) == set(queues)
|
||||||
|
|||||||
Reference in New Issue
Block a user