예제 #1
0
def test_email_validation_non_compliance(address):
    # TODO: validate_value should raise an exception in these
    #       cases since subsequent dots without any ASCII
    #       character in between are not allowed in RFC5322.
    vs.EmailAddress().validate_value(address, "")
예제 #2
0
def test_email_validation_raises(address):
    with pytest.raises(MKUserError):
        vs.EmailAddress().validate_value(address, "")
예제 #3
0
def test_email_validation(address):
    vs.EmailAddress().validate_value(address, "")