Merge branch 'master' of https://github.com/alphagov/notifications-admin into vb-callback-admin

Some content change
Refractor api_integration to api_keys to reduce git difference.
This commit is contained in:
venusbb
2017-12-11 12:03:23 +00:00
8 changed files with 37 additions and 37 deletions

View File

@@ -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 cant have commas in your fields'
assert str(error.value) == 'You cant put commas between double brackets'
NoCommasInPlaceHolders()(None, _gen_mock_field('Hello ((name))'))