Module Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr BoolOpAnd NameLoad ListComp Call NameLoad NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign AttributeStore NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Call NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Call NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Call NameLoad ListLoad Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str attr Call NameLoad Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str attr Call NameLoad NameLoad Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str attr Call NameLoad Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str attr Call NameLoad NameLoad Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str attr Call NameLoad NameLoad Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str attr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad Str Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr attr Call NameLoad ListLoad Str Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Dict Str Str Str NameLoad Call AttributeLoad NameLoad attr Call NameLoad ListLoad Str Str Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore TupleLoad Str Num decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assert NameLoad decorator_list Call NameLoad Str decorator_list Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Call NameLoad NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A unittest2 unittest mox3.mox MoxTestBase pycares.errno ARES_ENOTFOUND slimta.util.dns DNSResolver DNSError slimta.util.dnsbl DnsBlocklist DnsBlocklistGroup check_dnsbl slimta.smtp.reply Reply FakeRdata N/A object N/A __init__ N/A N/A self text N/A N/A N/A N/A self text text N/A N/A FakeAsyncResult N/A object N/A __init__ N/A N/A self answers N/A None N/A N/A N/A self answers N/A answers N/A N/A FakeRdata answer N/A answer answers N/A get N/A N/A self N/A N/A N/A N/A self answers N/A N/A TestDnsbl N/A N/A unittest TestCase MoxTestBase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestDnsbl self setUp N/A N/A N/A N/A self mox StubOutWithMock DNSResolver query N/A N/A self dnsbl N/A DnsBlocklist test.example.com N/A test_dnsblocklist_build_query N/A N/A self N/A N/A N/A N/A N/A self assertEqual 4.3.2.1.test.example.com N/A N/A N/A self dnsbl _build_query 1.2.3.4 N/A test_dnsblocklist_get N/A N/A self N/A N/A N/A N/A N/A N/A N/A DNSResolver query 4.3.2.1.test.example.com A AndReturn N/A FakeAsyncResult N/A N/A N/A N/A N/A DNSResolver query 8.7.6.5.test.example.com A AndRaise N/A DNSError ARES_ENOTFOUND N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A self assertTrue N/A N/A N/A self dnsbl get 1.2.3.4 N/A N/A N/A self assertNotIn 5.6.7.8 N/A self dnsbl N/A test_dnsblocklist_get_reason N/A N/A self N/A N/A N/A N/A N/A N/A N/A DNSResolver query 4.3.2.1.test.example.com TXT AndReturn N/A FakeAsyncResult N/A N/A N/A N/A N/A DNSResolver query 4.3.2.1.test.example.com TXT AndReturn N/A FakeAsyncResult N/A good reason N/A N/A N/A N/A N/A DNSResolver query 8.7.6.5.test.example.com TXT AndRaise N/A DNSError ARES_ENOTFOUND N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A self assertEqual None N/A N/A N/A self dnsbl get_reason 1.2.3.4 N/A N/A N/A self assertEqual good reason N/A N/A N/A self dnsbl get_reason 1.2.3.4 N/A N/A N/A self assertEqual None N/A N/A self dnsbl N/A 5.6.7.8 N/A test_dnsblocklistgroup_get N/A N/A self N/A N/A N/A group N/A DnsBlocklistGroup N/A N/A N/A group add_dnsbl test1.example.com N/A N/A N/A group add_dnsbl test2.example.com N/A N/A N/A group add_dnsbl test3.example.com N/A N/A N/A N/A N/A N/A N/A DNSResolver query 4.3.2.1.test1.example.com A InAnyOrder one AndReturn N/A FakeAsyncResult N/A N/A N/A N/A N/A N/A N/A DNSResolver query 4.3.2.1.test2.example.com A InAnyOrder one AndRaise N/A DNSError ARES_ENOTFOUND N/A N/A N/A N/A N/A N/A N/A DNSResolver query 4.3.2.1.test3.example.com A InAnyOrder one AndReturn N/A FakeAsyncResult N/A N/A N/A N/A N/A N/A N/A DNSResolver query 8.7.6.5.test1.example.com A InAnyOrder two AndRaise N/A DNSError ARES_ENOTFOUND N/A N/A N/A N/A N/A N/A N/A DNSResolver query 8.7.6.5.test2.example.com A InAnyOrder two AndRaise N/A DNSError ARES_ENOTFOUND N/A N/A N/A N/A N/A N/A N/A DNSResolver query 8.7.6.5.test3.example.com A InAnyOrder two AndRaise N/A DNSError ARES_ENOTFOUND N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A self assertEqual N/A set N/A test1.example.com test3.example.com N/A N/A group get 1.2.3.4 N/A N/A N/A self assertNotIn 5.6.7.8 group N/A test_dnsblocklistgroup_get_reasons N/A N/A self N/A N/A N/A group N/A DnsBlocklistGroup N/A N/A N/A group add_dnsbl test1.example.com N/A N/A N/A group add_dnsbl test2.example.com N/A N/A N/A group add_dnsbl test3.example.com N/A N/A N/A N/A N/A N/A N/A DNSResolver query 4.3.2.1.test1.example.com TXT InAnyOrder AndReturn N/A FakeAsyncResult N/A reason one N/A N/A N/A N/A N/A N/A N/A DNSResolver query 4.3.2.1.test3.example.com TXT InAnyOrder AndReturn N/A FakeAsyncResult N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A self assertEqual N/A test1.example.com test3.example.com reason one None N/A N/A group get_reasons N/A set N/A test1.example.com test3.example.com 1.2.3.4 N/A test_check_dnsrbl N/A N/A self N/A N/A TestSession N/A object N/A N/A address N/A 1.2.3.4 56789 N/A TestValidators N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self session N/A TestSession N/A validate_mail N/A N/A self reply sender N/A N/A N/A False N/A N/A check_dnsbl test.example.com N/A N/A N/A N/A N/A N/A DNSResolver query 4.3.2.1.test.example.com A AndRaise N/A DNSError ARES_ENOTFOUND N/A N/A N/A N/A N/A DNSResolver query 4.3.2.1.test.example.com A AndReturn N/A FakeAsyncResult N/A N/A N/A N/A self mox ReplayAll N/A validators N/A TestValidators N/A reply N/A Reply 250 2.0.0 Ok N/A N/A N/A self assertRaises AssertionError N/A validators validate_mail reply asdf N/A N/A N/A self assertEqual 250 N/A reply code N/A N/A N/A self assertEqual 2.0.0 Ok N/A reply message N/A N/A N/A validators validate_mail reply asdf N/A N/A N/A self assertEqual 550 N/A reply code N/A N/A N/A self assertEqual 5.7.1 Access denied N/A reply message N/A N/A