mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-12 00:02:36 -05:00
add tests
This commit is contained in:
@@ -402,7 +402,12 @@ def extract_phones(job):
|
||||
phone_index = 0
|
||||
for item in first_row:
|
||||
# Note: may contain a BOM and look like \ufeffphone number
|
||||
if item.lower() in ["phone number", "\\ufeffphone number", "phone number\n"]:
|
||||
if item.lower() in [
|
||||
"phone number",
|
||||
"\\ufeffphone number",
|
||||
"\\ufeffphone number\n",
|
||||
"phone number\n",
|
||||
]:
|
||||
break
|
||||
phone_index = phone_index + 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user