mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-10 18:22:37 -04:00
Merge pull request #1375 from alphagov/fix-missing-in-recipient-row-error
Fix error message for missing cells in CSV file
This commit is contained in:
+1
-1
@@ -27,4 +27,4 @@ notifications-python-client>=3.1,<3.2
|
|||||||
awscli>=1.11,<1.12
|
awscli>=1.11,<1.12
|
||||||
awscli-cwlogs>=1.4,<1.5
|
awscli-cwlogs>=1.4,<1.5
|
||||||
|
|
||||||
git+https://github.com/alphagov/notifications-utils.git@17.5.1#egg=notifications-utils==17.5.1
|
git+https://github.com/alphagov/notifications-utils.git@17.5.6#egg=notifications-utils==17.5.6
|
||||||
|
|||||||
@@ -185,6 +185,32 @@ def test_upload_csvfile_with_errors_shows_check_page_with_errors(
|
|||||||
'Skip to file contents'
|
'Skip to file contents'
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
(
|
||||||
|
"""
|
||||||
|
phone number, name
|
||||||
|
+447700900986, example
|
||||||
|
, example
|
||||||
|
+447700900986, example
|
||||||
|
""",
|
||||||
|
(
|
||||||
|
'There is a problem with your data '
|
||||||
|
'You need to enter missing data in 1 row '
|
||||||
|
'Skip to file contents'
|
||||||
|
)
|
||||||
|
),
|
||||||
|
(
|
||||||
|
"""
|
||||||
|
phone number, name
|
||||||
|
+447700900986, example
|
||||||
|
+447700900986,
|
||||||
|
+447700900986, example
|
||||||
|
""",
|
||||||
|
(
|
||||||
|
'There is a problem with your data '
|
||||||
|
'You need to enter missing data in 1 row '
|
||||||
|
'Skip to file contents'
|
||||||
|
)
|
||||||
|
),
|
||||||
])
|
])
|
||||||
def test_upload_csvfile_with_missing_columns_shows_error(
|
def test_upload_csvfile_with_missing_columns_shows_error(
|
||||||
logged_in_client,
|
logged_in_client,
|
||||||
|
|||||||
Reference in New Issue
Block a user