use default queue for now

This commit is contained in:
dandds 2018-10-15 11:35:06 -04:00
parent 95ad71605d
commit 40317a06a4
2 changed files with 2 additions and 3 deletions

View File

@ -98,7 +98,6 @@ def map_config(config):
"default", "PERMANENT_SESSION_LIFETIME" "default", "PERMANENT_SESSION_LIFETIME"
), ),
"RQ_REDIS_URL": config["default"]["REDIS_URI"], "RQ_REDIS_URL": config["default"]["REDIS_URI"],
"RQ_QUEUES": ["atat_{}".format(ENV.lower())],
} }

View File

@ -10,8 +10,8 @@ def reset_queue():
def test_send_mail(): def test_send_mail():
assert len(queue.get_queue()) == 0 initial = len(queue.get_queue())
send_mail.queue( send_mail.queue(
["lordvader@geocities.net"], "death start", "how is it coming along?" ["lordvader@geocities.net"], "death start", "how is it coming along?"
) )
assert len(queue.get_queue()) == 1 assert len(queue.get_queue()) == initial + 1