Update to test as per review comments.

However, I am curious if there is evidence that using fake_uuid over creating one in the test is actually faster.
This commit is contained in:
Rebecca Law
2016-04-29 14:36:10 +01:00
parent 8c14b5a8ab
commit 11c4696775
2 changed files with 5 additions and 5 deletions

View File

@@ -163,7 +163,7 @@ def process_job(job_id):
if template.template_type == 'sms':
send_sms.apply_async((
str(job.service_id),
str(create_uuid()),
create_uuid(),
encrypted,
datetime.utcnow().strftime(DATETIME_FORMAT)),
queue='bulk-sms'
@@ -172,7 +172,7 @@ def process_job(job_id):
if template.template_type == 'email':
send_email.apply_async((
str(job.service_id),
str(create_uuid()),
create_uuid(),
'"{}" <{}@{}>'.format(
service.name,
service.email_from,