From eef66b70de2efbdb0b9f84e751d3cad414c654aa Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Mon, 11 Dec 2017 10:50:55 +0000 Subject: [PATCH] =?UTF-8?q?Reword=20because=20=E2=80=98inbetween=E2=80=99?= =?UTF-8?q?=20isn=E2=80=99t=20a=20word?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/main/validators.py | 2 +- tests/app/main/test_validators.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/main/validators.py b/app/main/validators.py index 62b9c5501..709274dda 100644 --- a/app/main/validators.py +++ b/app/main/validators.py @@ -45,7 +45,7 @@ class ValidGovEmail: class NoCommasInPlaceHolders: - def __init__(self, message='You can’t put commas inbetween double brackets'): + def __init__(self, message='You can’t put commas between double brackets'): self.message = message def __call__(self, form, field): diff --git a/tests/app/main/test_validators.py b/tests/app/main/test_validators.py index fec931640..d2b5fe574 100644 --- a/tests/app/main/test_validators.py +++ b/tests/app/main/test_validators.py @@ -149,7 +149,7 @@ def test_for_commas_in_placeholders( ): with pytest.raises(ValidationError) as error: NoCommasInPlaceHolders()(None, _gen_mock_field('Hello ((name,date))')) - assert str(error.value) == 'You can’t put commas inbetween double brackets' + assert str(error.value) == 'You can’t put commas between double brackets' NoCommasInPlaceHolders()(None, _gen_mock_field('Hello ((name))'))