reenable intl numbers

This commit is contained in:
Kenneth Kehl
2025-04-03 07:44:21 -07:00
parent 7a29252081
commit ef779daec1
3 changed files with 94 additions and 94 deletions

View File

@@ -765,6 +765,10 @@ def test_bad_or_missing_data(
assert recipients.has_errors is True
# TODO in the first test where the expected result is {0,1}, the original
# expected result was {0,1,2}. Why? In restoring international capability
# for some reason +447900123 now looks legit. It may have more to do with
# formatting than the actually validity of the number, not sure.
@pytest.mark.parametrize(
("file_contents", "rows_with_bad_recipients"),
[
@@ -775,7 +779,7 @@ def test_bad_or_missing_data(
1234
+447900123
""",
{0, 1, 2},
{0, 1},
),
(
"""
@@ -784,7 +788,7 @@ def test_bad_or_missing_data(
+12022340104, USA
+23051234567, Mauritius
""",
{2},
set(),
),
],
)