TTOPM's picture
Upload 313 files
6b53875 verified
from privacy.redactor import redact
def test_redactor_basic():
s = "Contact me at [email protected] or +1 (415) 555-1234"
out = redact(s)
assert "<email:" in out and "<phone:" in out