Rationalised the queues.

- the internal notify activites (send sms code, forgotten passwords etc) all not in a "notify" queue.
- deleted all unused queues
This commit is contained in:
Martyn Inglis
2016-09-26 12:35:59 +01:00
parent 76d3f08b46
commit ce5b5fbf4c
6 changed files with 12 additions and 22 deletions

View File

@@ -56,7 +56,7 @@ def test_create_invited_user(notify_api, sample_service, mocker, invitation_emai
'some_uuid',
encryption.encrypt(message),
"2016-01-01T11:09:00.061258"),
queue="email-invited-user")
queue="notify")
def test_create_invited_user_invalid_email(notify_api, sample_service, mocker):

View File

@@ -421,7 +421,7 @@ def test_send_user_reset_password_should_send_reset_password_link(notify_api,
'some_uuid',
app.encryption.encrypt(message),
"2016-01-01T11:09:00.061258"],
queue="email-reset-password")
queue="notify")
def test_send_user_reset_password_should_return_400_when_email_is_missing(notify_api):
@@ -501,7 +501,7 @@ def test_send_already_registered_email(notify_api, sample_user, already_register
'some_uuid',
app.encryption.encrypt(message),
"2016-01-01T11:09:00.061258"),
queue="email-already-registered")
queue="notify")
def test_send_already_registered_email_returns_400_when_data_is_missing(notify_api, sample_user):

View File

@@ -249,7 +249,7 @@ def test_send_user_sms_code(notify_api,
"some_uuid",
encrypted,
"2016-01-01T11:09:00.061258"]),
queue="sms-code"
queue="notify"
)
@@ -289,7 +289,7 @@ def test_send_user_code_for_sms_with_optional_to_field(notify_api,
"some_uuid",
encrypted,
"2016-01-01T11:09:00.061258"]),
queue="sms-code"
queue="notify"
)
@@ -344,7 +344,7 @@ def test_send_user_email_verification(notify_api,
'some_uuid',
encryption.encrypt(message),
"2016-01-01T11:09:00.061258"),
queue="email-registration-verification")
queue="notify")
def test_send_email_verification_returns_404_for_bad_input_data(notify_api, notify_db, notify_db_session):