Update tests for content changes.

This commit is contained in:
Rebecca Law
2019-09-13 16:00:56 +01:00
committed by Chris Hill-Scott
parent c3d806dd50
commit 18e3eb6b32
9 changed files with 70 additions and 70 deletions

View File

@@ -71,7 +71,7 @@ class ValidEmail(Email):
class NoCommasInPlaceHolders:
def __init__(self, message='You cant put commas between double brackets'):
def __init__(self, message='You cannot put commas between double brackets'):
self.message = message
def __call__(self, form, field):
@@ -84,7 +84,7 @@ class OnlySMSCharacters:
non_sms_characters = sorted(list(SanitiseSMS.get_non_compatible_characters(field.data)))
if non_sms_characters:
raise ValidationError(
'You cant use {} in text messages. {} will not show up properly on everyones phones.'.format(
'You cannot use {} in text messages. {} will not show up properly on everyones phones.'.format(
formatted_list(non_sms_characters, conjunction='or', before_each='', after_each=''),
('It' if len(non_sms_characters) == 1 else 'They')
)
@@ -105,7 +105,7 @@ class LettersNumbersAndFullStopsOnly:
class DoesNotStartWithDoubleZero:
def __init__(self, message="Can't start with 00"):
def __init__(self, message="Cannot start with 00"):
self.message = message
def __call__(self, form, field):