Fix tests and other bits

This commit is contained in:
Imdad Ahad
2016-10-24 15:35:51 +01:00
parent 3c53a8a269
commit 876832801e
4 changed files with 18 additions and 16 deletions

View File

@@ -110,11 +110,11 @@ def service_request_to_go_live(service_id):
'department_id': current_app.config.get('DESKPRO_DEPT_ID'),
'agent_team_id': current_app.config.get('DESKPRO_ASSIGNED_AGENT_TEAM_ID'),
'subject': 'Request to go live',
'message':
('On behalf of {} ({})\n\nExpected usage\n---'
'\nChannel: {}\nStart date: {}\nStart volume: {}'
'\nPeak volume: {}\nUpload or API: {}')
.format(
'message': (
'On behalf of {} ({})\n\nExpected usage\n---'
'\nChannel: {}\nStart date: {}\nStart volume: {}'
'\nPeak volume: {}\nUpload or API: {}'
).format(
current_service['name'],
url_for('main.service_dashboard', service_id=current_service['id'], _external=True),
form.channel.data,