Add more properties of job to job message.

This commit is contained in:
Adam Shimali
2016-02-04 12:34:53 +00:00
parent 18c5e2d37d
commit aa57730fc9
2 changed files with 12 additions and 2 deletions

View File

@@ -121,6 +121,8 @@ def test_create_job(notify_api, notify_db, notify_db_session, sample_template):
expected_message = json.loads(messages[0].body)
assert expected_message['job_id'] == str(job_id)
assert expected_message['service_id'] == str(service_id)
assert expected_message['template_id'] == template_id
assert expected_message['bucket_name'] == bucket_name
def _setup_jobs(notify_db, notify_db_session, template, number_of_jobs=5):