예제 #1
0
def test_email_validation_with_invalid_email_addresses(email_address):
    with pytest.raises(ValidationError):
        email_validator(email_address)
예제 #2
0
def test_email_validation_with_valid_email_addresses(email_address):
    email_validator(email_address)
예제 #3
0
def test_email_validation_with_valid_email_addresses(email_address):
    email_validator(email_address)
예제 #4
0
def test_email_validation_with_invalid_email_addresses(email_address):
    from django.core.exceptions import ValidationError
    with pytest.raises(ValidationError):
        email_validator(email_address)
예제 #5
0
def test_email_validation_with_invalid_email_addresses(email_address):
    with pytest.raises(ValidationError):
        email_validator(email_address)