Merge pull request #623 from alphagov/test-fixes

Test fixes
This commit is contained in:
Leo Hemsted
2016-08-30 10:38:53 +01:00
committed by GitHub
11 changed files with 42 additions and 24 deletions

View File

@@ -105,7 +105,7 @@ def send_sms_to_provider(self, service_id, notification_id):
def provider_to_use(notification_type, notification_id):
active_providers_in_order = [
provider for provider in get_provider_details_by_notification_type(notification_type) if provider.active
]
]
if not active_providers_in_order:
current_app.logger.error(

View File

@@ -75,7 +75,7 @@ def process_job(job_id):
'personalisation': {
key: personalisation.get(key)
for key in template.placeholders
}
}
})
if template.template_type == SMS_TYPE: