mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 22:40:31 -04:00
merge from main
This commit is contained in:
@@ -56,7 +56,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 cannot put commas between double brackets"
|
||||
assert str(error.value) == "You cannot put commas between double parenthesis"
|
||||
NoCommasInPlaceHolders()(None, _gen_mock_field("Hello ((name))"))
|
||||
|
||||
|
||||
|
||||
@@ -775,7 +775,7 @@ def test_upload_csv_file_with_very_long_placeholder_shows_check_page_with_errors
|
||||
+12028675109
|
||||
""",
|
||||
(
|
||||
"Your column names need to match the double brackets in your template "
|
||||
"Your column names need to match the double parenthesis in your template "
|
||||
"Your file is missing a column called ‘name’."
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user