Add queue name to service table.

Set queue name when creating the service
This commit is contained in:
Rebecca Law
2016-01-27 14:18:11 +00:00
parent 8657c0ea40
commit daff1c3f53
5 changed files with 34 additions and 2 deletions

View File

@@ -93,6 +93,7 @@ def test_post_service(notify_api, notify_db, notify_db_session, sample_user, sam
json_resp = json.loads(resp.get_data(as_text=True))
assert json_resp['data']['name'] == service.name
assert json_resp['data']['limit'] == service.limit
assert service.queue_name is not None
def test_post_service_multiple_users(notify_api, notify_db, notify_db_session, sample_user, sample_admin_service_id):