Unverified Commit 43e1c994 authored by Isis Lovecruft's avatar Isis Lovecruft
Browse files

Add EMAIL_BLACKLIST and EMAIL_FUZZY_MATCH settings to test/email_helpers.py.

parent feea1567
......@@ -38,6 +38,8 @@ EMAIL_DOMAIN_RULES = {
}
EMAIL_DOMAINS = ["gmail.com", "example.com", "localhost"]
EMAIL_WHITELIST = {'white@list.ed': 'ABCD1234ABCD1234ABCD1234ABCD1234ABCD1234'}
EMAIL_BLACKLIST = ['feidanchaoren']
EMAIL_FUZZY_MATCH = 4
EMAIL_USERNAME = "bridges"
EMAIL_SMTP_HOST = "127.0.0.1"
EMAIL_SMTP_PORT = 25
......@@ -56,6 +58,8 @@ EMAIL_DOMAIN_MAP = %s
EMAIL_DOMAIN_RULES = %s
EMAIL_DOMAINS = %s
EMAIL_WHITELIST = %s
EMAIL_BLACKLIST = %s
EMAIL_FUZZY_MATCH = %s
EMAIL_USERNAME = %s
EMAIL_SMTP_HOST = %s
EMAIL_SMTP_PORT = %s
......@@ -72,6 +76,8 @@ EMAIL_PORT = %s
repr(EMAIL_DOMAIN_RULES),
repr(EMAIL_DOMAINS),
repr(EMAIL_WHITELIST),
repr(EMAIL_BLACKLIST),
repr(EMAIL_FUZZY_MATCH),
repr(EMAIL_USERNAME),
repr(EMAIL_SMTP_HOST),
repr(EMAIL_SMTP_PORT),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment