mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-03-01 06:40:54 -05:00
9 lines
251 B
Python
9 lines
251 B
Python
|
|
from app.utils import email_safe
|
||
|
|
|
||
|
|
|
||
|
|
def test_email_safe_return_dot_separated_email_domain():
|
||
|
|
test_name = 'SOME service with+stuff+ b123'
|
||
|
|
expected = 'some.service.withstuff.b123'
|
||
|
|
actual = email_safe(test_name)
|
||
|
|
assert actual == expected
|