* Fix tests
* Add tests for new message format
This commit is contained in:
Imdad Ahad
2016-10-24 16:10:41 +01:00
parent ae48bdef98
commit a707bd546c
2 changed files with 32 additions and 13 deletions

View File

@@ -347,25 +347,25 @@ class Feedback(Form):
class RequestToGoLiveForm(Form):
channel = StringField(
'Are you sending emails or text messages or both?'
, validators=[DataRequired(message='Cant be empty')]
'Are you sending emails or text messages or both?',
validators=[DataRequired(message='Cant be empty')]
)
start_date = StringField(
'When will you be ready to start sending messages?'
, validators=[DataRequired(message='Cant be empty')]
'When will you be ready to start sending messages?',
validators=[DataRequired(message='Cant be empty')]
)
start_volume = StringField(
'How many messages do you expect to send per month to start with? Give an estimate in numbers.'
, validators=[DataRequired(message='Cant be empty')]
'How many messages do you expect to send per month to start with? Give an estimate in numbers.',
validators=[DataRequired(message='Cant be empty')]
)
peak_volume = StringField(
'Will the number of messages a month increase and when will that start? Give an estimate.'
, validators=[DataRequired(message='Cant be empty')]
'Will the number of messages a month increase and when will that start? Give an estimate.',
validators=[DataRequired(message='Cant be empty')]
)
upload_or_api = StringField(
'Are you uploading a list of contacts that youre sending your message to, ' +
'or are you integrating your system with ours?'
, validators=[DataRequired(message='Cant be empty')]
'or are you integrating your system with ours?',
validators=[DataRequired(message='Cant be empty')]
)