Ejemplo n.º 1
0
def test_mailto_replaces_propery_end_of_sentence(addr, app):
    with app.app_context():
        text = 'long sentence with stuff ' + addr + '.'
        assert addr not in pmailto_all(text)
Ejemplo n.º 2
0
def test_mailto_replaces_properly_simple(addr, app):
    with app.app_context():
        text = 'some text ' + addr + ' more'
        assert addr not in pmailto_all(text)