mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-02 12:49:01 -04:00
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:
@@ -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 have commas in your fields'
|
||||
assert str(error.value) == 'You can’t put commas between double brackets'
|
||||
NoCommasInPlaceHolders()(None, _gen_mock_field('Hello ((name))'))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user