use default queue for now
This commit is contained in:
parent
95ad71605d
commit
40317a06a4
@ -98,7 +98,6 @@ def map_config(config):
|
||||
"default", "PERMANENT_SESSION_LIFETIME"
|
||||
),
|
||||
"RQ_REDIS_URL": config["default"]["REDIS_URI"],
|
||||
"RQ_QUEUES": ["atat_{}".format(ENV.lower())],
|
||||
}
|
||||
|
||||
|
||||
|
@ -10,8 +10,8 @@ def reset_queue():
|
||||
|
||||
|
||||
def test_send_mail():
|
||||
assert len(queue.get_queue()) == 0
|
||||
initial = len(queue.get_queue())
|
||||
send_mail.queue(
|
||||
["lordvader@geocities.net"], "death start", "how is it coming along?"
|
||||
)
|
||||
assert len(queue.get_queue()) == 1
|
||||
assert len(queue.get_queue()) == initial + 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user