Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Dict Str Str Str Num Num Num Return TupleLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args defaults body Expr Str Expr Call NameLoad Assign NameStore BinOpAdd Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body With Call AttributeLoad NameLoad attr NameLoad Str NameStore body Assign AttributeStore NameLoad attr NameLoad For NameStore Call NameLoad Num Num body Assign NameStore Call AttributeLoad Str attr GeneratorExp Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad For NameStore BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore BinOpAdd Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad For NameStore BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str body Assign NameStore BinOpAdd Str Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad For NameStore BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str body Assign NameStore BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad For NameStore Call NameLoad Num Num body Assign NameStore BinOpAdd BinOpAdd Str BinOpMult Str NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body With Call AttributeLoad NameLoad attr NameLoad Str NameStore body Assign AttributeStore NameLoad attr NameLoad For NameStore BinOpAdd Call NameLoad Num Num Call NameLoad Num Num body Assign NameStore Call AttributeLoad Str attr GeneratorExp Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore BinOpAdd Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str For NameStore NameLoad body Assign NameStore BinOpAdd Str Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str For NameStore NameLoad body Assign NameStore BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad For NameStore Call NameLoad Num Num body Assign NameStore BinOpAdd BinOpAdd Str BinOpMult Str NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Assign NameStore BinOpAdd BinOpAdd Str BinOpMult Str NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list
N/A N/A random N/A string flanker.addresslib address flanker.addresslib validate mock patch nose.tools assert_equal assert_not_equal nose.tools nottest N/A skip_if_asked N/A DOMAIN @hotmail.com N/A SAMPLE_MX mx0.hotmail.com mock_exchanger_lookup N/A N/A arg metrics N/A False N/A N/A mtimes N/A mx_lookup dns_lookup mx_conn 0 0 0 N/A N/A SAMPLE_MX mtimes N/A nottest test_exchanger_lookup N/A N/A N/A N/A N/A 
    Test if exchanger lookup is occuring correctly. If this simple test
    fails that means custom grammar was hit. Then the rest of the tests
    can be mocked. Should always be run during deployment, can be skipped
    during development.
     N/A N/A skip_if_asked N/A addr_string N/A !mailgun DOMAIN N/A addr N/A N/A address validate_address addr_string N/A N/A assert_equal addr None N/A test_hotmail_pass N/A N/A N/A N/A N/A N/A N/A patch object validate mail_exchanger_lookup mock_method N/A N/A N/A mock_method side_effect mock_exchanger_lookup N/A i N/A range 1 65 N/A N/A localpart N/A N/A join N/A N/A N/A random choice N/A string ascii_letters N/A x N/A range i N/A addr N/A N/A address validate_address N/A localpart DOMAIN N/A N/A assert_not_equal addr None N/A i N/A N/A string ascii_letters N/A string digits N/A N/A localpart N/A N/A str i a N/A addr N/A N/A address validate_address N/A localpart DOMAIN N/A N/A assert_not_equal addr None N/A i N/A N/A N/A string ascii_letters N/A string digits -_ N/A N/A localpart N/A a N/A str i N/A addr N/A N/A address validate_address N/A localpart DOMAIN N/A N/A assert_not_equal addr None N/A i N/A N/A N/A string ascii_letters N/A string digits .-_ N/A N/A localpart N/A N/A a N/A str i 0 N/A addr N/A N/A address validate_address N/A localpart DOMAIN N/A N/A assert_not_equal addr None N/A i N/A range 0 2 N/A N/A localpart N/A N/A aa N/A + i 00 N/A addr N/A N/A address validate_address N/A localpart DOMAIN N/A N/A assert_not_equal addr None N/A localpart aa.bb.00 N/A addr N/A N/A address validate_address N/A localpart DOMAIN N/A N/A assert_not_equal addr None N/A test_hotmail_fail N/A N/A N/A N/A N/A N/A N/A patch object validate mail_exchanger_lookup mock_method N/A N/A N/A mock_method side_effect mock_exchanger_lookup N/A i N/A N/A range 0 0 N/A range 65 70 N/A N/A localpart N/A N/A join N/A N/A N/A random choice N/A string ascii_letters N/A x N/A range i N/A addr N/A N/A address validate_address N/A localpart DOMAIN N/A N/A assert_equal addr None N/A i N/A string punctuation N/A N/A localpart N/A N/A str i a N/A addr N/A N/A address validate_address N/A localpart DOMAIN N/A N/A assert_equal addr None N/A invalid_end_chars N/A string punctuation N/A invalid_end_chars N/A N/A invalid_end_chars replace - N/A invalid_end_chars N/A N/A invalid_end_chars replace _ N/A invalid_end_chars N/A N/A invalid_end_chars replace + N/A i invalid_end_chars N/A N/A localpart N/A a N/A str i N/A addr N/A N/A address validate_address N/A localpart DOMAIN N/A N/A assert_equal addr None N/A invalid_chars N/A string punctuation N/A invalid_chars N/A N/A invalid_chars replace . N/A invalid_chars N/A N/A invalid_chars replace - N/A invalid_chars N/A N/A invalid_chars replace _ N/A invalid_chars N/A N/A invalid_chars replace + N/A i invalid_chars N/A N/A localpart N/A N/A a N/A str i 0 N/A addr N/A N/A address validate_address N/A localpart DOMAIN N/A N/A assert_equal addr None N/A i N/A range 2 4 N/A N/A localpart N/A N/A aa N/A . i 00 N/A addr N/A N/A address validate_address N/A localpart DOMAIN N/A N/A assert_equal addr None N/A localpart N/A N/A aa N/A + i 00 N/A addr N/A N/A address validate_address N/A localpart DOMAIN N/A N/A assert_equal addr None N/A