Available tests

Forms

class thecut.emailfield.tests.test_forms.TestEmailFormField(methodName='runTest')[source]

Tests for the thecut.emailfield.models.EmailField model field.

test_accepts_domain_with_mx_record(*args, **keywargs)[source]

Accept email address for a domain with an MX record.

test_rejects_domain_without_mx_record(*args, **keywargs)[source]

Reject email address for a domain without an MX record.

Models

class thecut.emailfield.tests.test_models.TestEmailModelField(methodName='runTest')[source]

Tests for the thecut.emailfield.models.EmailField model field.

test_accepts_domain_with_mx_record(*args, **keywargs)[source]

Accept email address for a domain with an MX record.

test_rejects_domain_without_mx_record(*args, **keywargs)[source]

Reject email address for a domain without an MX record.