def test_el_confirm():
    f = Form('f', static=True)
    f.add_password('p', 'password')
    cel = f.add_confirm('f', match='p')
    assert cel() == '', cel()
def test_el_password():
    f = Form('f', static=True)
    el = f.add_password('p', 'password')
    assert el() == '', el()