Module Import alias Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ClassDef bases NameLoad body Assign NameStore NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Str Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Call AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Call AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Raise Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Str Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Call NameLoad Return Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Call NameLoad Return Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Slice Num attr Index Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body For NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list
N/A N/A struct N/A lxml.etree etree twisted.trial unittest twisted.internet defer twisted.test proto_helpers twisted.internet.protocol ServerFactory comet.testutils DummyEvent DUMMY_EVENT_IVORN comet.protocol.base ElementSender EventHandler ElementSenderFactory N/A ServerFactory N/A N/A protocol ElementSender N/A ElementSenderTestCase N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A factory N/A ElementSenderFactory N/A N/A self proto N/A N/A factory buildProtocol N/A 127.0.0.1 0 N/A N/A self tr N/A N/A proto_helpers StringTransport N/A N/A N/A N/A self proto makeConnection N/A self tr N/A test_send_xml N/A N/A self N/A N/A N/A dummy_element N/A DummyEvent N/A N/A N/A N/A self proto send_xml dummy_element N/A N/A N/A self assertEqual N/A N/A N/A self tr value N/A N/A N/A struct pack !i N/A len N/A dummy_element raw_bytes N/A dummy_element raw_bytes N/A test_lengthLimitExceeded N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self tr disconnecting False N/A dummy_element N/A DummyEvent N/A N/A N/A N/A self proto dataReceived N/A N/A N/A struct pack <i N/A len N/A dummy_element raw_bytes N/A dummy_element raw_bytes N/A N/A N/A self assertEqual N/A N/A self tr disconnecting True N/A N/A EventHandlerFactory N/A ServerFactory N/A N/A protocol EventHandler N/A local_ivo DUMMY_EVENT_IVORN N/A Succeeds N/A object N/A N/A has_run False __call__ N/A N/A self event N/A N/A N/A N/A self has_run True N/A N/A self has_run N/A N/A Fails N/A object N/A N/A has_run False __call__ N/A N/A self event N/A N/A N/A N/A self has_run True N/A N/A Exception N/A self has_run N/A N/A EventHandlerTestCase N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A factory N/A EventHandlerFactory N/A N/A self proto N/A N/A factory buildProtocol N/A 127.0.0.1 0 N/A N/A self tr N/A N/A proto_helpers StringTransport N/A N/A N/A N/A self proto makeConnection N/A self tr N/A test_validate_event_valid N/A N/A self N/A N/A N/A N/A N/A N/A self proto factory validators N/A N/A Succeeds N/A d N/A N/A N/A self proto validate_event True N/A N/A N/A d addCallback N/A self assertEqual N/A True N/A d N/A test_validate_event_invalid N/A N/A self N/A N/A N/A N/A N/A N/A self proto factory validators N/A N/A Fails N/A N/A N/A self assertFailure N/A N/A N/A self proto validate_event True N/A defer FirstError N/A test_handle_event_succeeds N/A N/A self N/A N/A N/A N/A N/A N/A self proto factory handlers N/A N/A Succeeds N/A d N/A N/A N/A self proto handle_event True N/A N/A N/A d addCallback N/A self assertEqual N/A True N/A d N/A test_handle_event_fails N/A N/A self N/A N/A N/A N/A N/A N/A self proto factory handlers N/A N/A Fails N/A N/A N/A self assertFailure N/A N/A N/A self proto handle_event True N/A defer FirstError N/A _check_for_role N/A N/A self result role N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A N/A etree fromstring N/A N/A N/A N/A self tr value N/A 4 attrib N/A role role N/A _check_for_handler_runs N/A N/A self result should_run N/A N/A N/A handler N/A N/A N/A self proto factory handlers N/A N/A N/A N/A self assertEqual N/A handler has_run should_run N/A test_process_event_valid_succeeds N/A N/A self N/A N/A N/A N/A N/A N/A self proto factory validators N/A N/A Succeeds N/A N/A N/A N/A self proto factory handlers N/A N/A Succeeds N/A d N/A N/A N/A self proto process_event N/A DummyEvent N/A N/A N/A d addCallback N/A self _check_for_role ack N/A N/A N/A d addCallback N/A self _check_for_handler_runs True N/A d N/A test_process_event_valid_fails N/A N/A self N/A N/A N/A N/A N/A N/A self proto factory validators N/A N/A Succeeds N/A N/A N/A N/A self proto factory handlers N/A N/A Fails N/A d N/A N/A N/A self proto process_event N/A DummyEvent N/A N/A N/A d addCallback N/A self _check_for_role ack N/A N/A N/A d addCallback N/A self _check_for_handler_runs True N/A d N/A test_process_event_invalid_can_nak N/A N/A self N/A N/A N/A N/A N/A N/A self proto factory validators N/A N/A Fails N/A N/A N/A N/A self proto factory handlers N/A N/A Succeeds N/A d N/A N/A N/A self proto process_event N/A DummyEvent N/A N/A N/A d addCallback N/A self _check_for_role nak N/A N/A N/A d addCallback N/A self _check_for_handler_runs False N/A d N/A test_process_event_invalid_cant_nak N/A N/A self N/A N/A N/A N/A N/A N/A self proto factory validators N/A N/A Fails N/A N/A N/A N/A self proto factory handlers N/A N/A Succeeds N/A d N/A N/A N/A self proto process_event N/A DummyEvent can_nak False N/A N/A N/A d addCallback N/A self _check_for_role ack N/A N/A N/A d addCallback N/A self _check_for_handler_runs False N/A d N/A N/A