Module Import alias identifier Import alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr TupleLoad Str Str Str decorator_list Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr TupleLoad Str Str Str decorator_list Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Num Assign NameStore Call NameLoad Num Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr TupleLoad Str Str Str TupleLoad Str Str Str decorator_list Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Num Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr TupleLoad Str Str Str TupleLoad Str Str Str decorator_list Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Str Str Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Str Str Expr Call AttributeLoad NameLoad attr TupleLoad Str Str Str TupleLoad Str Str Str decorator_list Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad Str Str Str TupleLoad Str Str Str TupleLoad Str Str Str decorator_list Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Str Str Str decorator_list Call NameLoad decorator_list
N/A N/A unittest2 unittest N/A socket testfixtures log_capture slimta.logging getSocketLogger FakeSocket N/A object N/A __init__ N/A N/A self fd peer N/A None N/A N/A N/A self fd fd N/A N/A self peer peer N/A fileno N/A N/A self N/A N/A N/A N/A self fd N/A getpeername N/A N/A self N/A N/A N/A N/A self peer N/A N/A TestSocketLogger N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self log N/A getSocketLogger test N/A test_send N/A N/A self l N/A N/A N/A sock N/A FakeSocket 136 N/A N/A N/A N/A self log send sock test send N/A N/A N/A l check N/A test DEBUG fd:136:send data='test send' N/A N/A log_capture test_recv N/A N/A self l N/A N/A N/A sock N/A FakeSocket 29193 N/A N/A N/A N/A self log recv sock test recv N/A N/A N/A l check N/A test DEBUG fd:29193:recv data='test recv' N/A N/A log_capture test_accept N/A N/A self l N/A N/A N/A server N/A FakeSocket 926 N/A client N/A FakeSocket 927 testpeer N/A N/A N/A N/A self log accept server client N/A N/A N/A N/A self log accept server client testpeer2 N/A N/A N/A l check N/A test DEBUG fd:926:accept clientfd=927 peer='testpeer' N/A test DEBUG fd:926:accept clientfd=927 peer='testpeer2' N/A N/A log_capture test_connect N/A N/A self l N/A N/A N/A sock N/A FakeSocket 539 testpeer N/A N/A N/A N/A self log connect sock N/A N/A N/A N/A self log connect sock testpeer2 N/A N/A N/A l check N/A test DEBUG fd:539:connect peer='testpeer' N/A test DEBUG fd:539:connect peer='testpeer2' N/A N/A log_capture test_encrypt N/A N/A self l N/A N/A N/A sock N/A FakeSocket 445 N/A N/A N/A N/A self log encrypt sock N/A keyfile server_side test True N/A N/A N/A N/A self log encrypt sock N/A certfile test N/A N/A N/A l check N/A test DEBUG fd:445:encrypt certfile=None keyfile='test' server_side=True N/A test DEBUG fd:445:encrypt certfile='test' keyfile=None server_side=False N/A N/A log_capture test_shutdown N/A N/A self l N/A N/A N/A sock N/A FakeSocket 823 N/A N/A N/A N/A self log shutdown sock N/A socket SHUT_RD N/A N/A N/A N/A self log shutdown sock N/A socket SHUT_WR N/A N/A N/A N/A self log shutdown sock N/A socket SHUT_RDWR N/A N/A N/A l check N/A test DEBUG fd:823:shutdown how='read' N/A test DEBUG fd:823:shutdown how='write' N/A test DEBUG fd:823:shutdown how='both' N/A N/A log_capture test_close N/A N/A self l N/A N/A N/A sock N/A FakeSocket 771 N/A N/A N/A N/A self log close sock N/A N/A N/A l check N/A test DEBUG fd:771:close N/A N/A log_capture N/A