mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 06:21:50 -05:00
merge from main
This commit is contained in:
@@ -9,7 +9,6 @@ from app.utils import (
|
||||
get_midnight_in_utc,
|
||||
get_public_notify_type_text,
|
||||
midnight_n_days_ago,
|
||||
scrub,
|
||||
)
|
||||
|
||||
|
||||
@@ -91,16 +90,6 @@ def test_get_public_notify_type_text():
|
||||
)
|
||||
|
||||
|
||||
def test_scrub():
|
||||
result = scrub(
|
||||
"This is a message with 17775554324, and also 18884449323 and also 17775554324"
|
||||
)
|
||||
assert (
|
||||
result
|
||||
== "This is a message with 1XXXXX54324, and also 1XXXXX49323 and also 1XXXXX54324"
|
||||
)
|
||||
|
||||
|
||||
# This method is used for simulating bulk sends. We use localstack and run on a developer's machine to do the
|
||||
# simulation. Please see docs->bulk_testing.md for instructions.
|
||||
# def test_generate_csv_for_bulk_testing():
|
||||
|
||||
Reference in New Issue
Block a user