change test phone number

This commit is contained in:
Kenneth Kehl
2024-02-21 09:09:45 -08:00
parent 4742cc77b5
commit 3363cc6979

View File

@@ -14,7 +14,7 @@ from tests.conftest import fake_uuid
def _get_notifications_csv( def _get_notifications_csv(
row_number=1, row_number=1,
recipient="2028675309", recipient="8005555555",
template_name="foo", template_name="foo",
template_type="sms", template_type="sms",
job_name="bar.csv", job_name="bar.csv",
@@ -89,14 +89,14 @@ def get_notifications_csv_mock(
None, None,
[ [
"Recipient,Template,Sent by,Batch File,Carrier Response,Status,Time\n", "Recipient,Template,Sent by,Batch File,Carrier Response,Status,Time\n",
"2028675309,foo,,,Did not like it,Delivered,1943-04-19 08:00:00 AM US/Eastern\r\n", "8005555555,foo,,,Did not like it,Delivered,1943-04-19 08:00:00 AM US/Eastern\r\n",
], ],
), ),
( (
"Anne Example", "Anne Example",
[ [
"Recipient,Template,Sent by,Batch File,Carrier Response,Status,Time\n", "Recipient,Template,Sent by,Batch File,Carrier Response,Status,Time\n",
"2028675309,foo,Anne Example,,Did not like it,Delivered,1943-04-19 08:00:00 AM US/Eastern\r\n", # noqa "8005555555,foo,Anne Example,,Did not like it,Delivered,1943-04-19 08:00:00 AM US/Eastern\r\n", # noqa
], ],
), ),
], ],
@@ -125,7 +125,7 @@ def test_generate_notifications_csv_without_job(
( (
""" """
phone number phone number
2028675309 8005555555
""", """,
[ [
"Recipient", "Recipient",
@@ -137,7 +137,7 @@ def test_generate_notifications_csv_without_job(
"Time", "Time",
], ],
[ [
"2028675309", "8005555555",
"foo", "foo",
"Fake Person", "Fake Person",
"bar.csv", "bar.csv",
@@ -149,7 +149,7 @@ def test_generate_notifications_csv_without_job(
( (
""" """
phone number, a, b, c phone number, a, b, c
2028675309, 🐜,🐝,🦀 8005555555, 🐜,🐝,🦀
""", """,
[ [
"Recipient", "Recipient",
@@ -164,7 +164,7 @@ def test_generate_notifications_csv_without_job(
"c", "c",
], ],
[ [
"2028675309", "8005555555",
"foo", "foo",
"Fake Person", "Fake Person",
"bar.csv", "bar.csv",
@@ -179,7 +179,7 @@ def test_generate_notifications_csv_without_job(
( (
""" """
"phone number", "a", "b", "c" "phone number", "a", "b", "c"
"2028675309","🐜,🐜","🐝,🐝","🦀" "8005555555","🐜,🐜","🐝,🐝","🦀"
""", """,
[ [
"Recipient", "Recipient",
@@ -194,7 +194,7 @@ def test_generate_notifications_csv_without_job(
"c", "c",
], ],
[ [
"2028675309", "8005555555",
"foo", "foo",
"Fake Person", "Fake Person",
"bar.csv", "bar.csv",