Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias alias alias ImportFrom alias alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad ClassDef bases NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr ListLoad If CompareIs NameLoad NameLoad body Assign NameStore Dict Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore Call NameLoad NameLoad Str If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Expr Call NameLoad NameLoad TupleLoad Str NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Str If CompareIn NameLoad NameLoad body Assign NameStore Call NameLoad keyword SubscriptLoad NameLoad Index NameLoad orelse Assign NameStore Call NameLoad Expr Call NameLoad NameLoad TupleLoad NameLoad NameLoad Return NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults TupleLoad Dict body Assign TupleStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad Num Assign ListStore TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list decorator_list Assign NameStore Str ClassDef bases NameLoad body Assign NameStore NameLoad For TupleStore NameStore NameStore ListLoad TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num body Exec BinOpMod NameLoad Dict Str Str NameLoad NameLoad Delete NameDel NameDel FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr Num Str TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad ListLoad decorator_list decorator_list Delete NameDel ClassDef bases NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad For NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr Num Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad For NameStore Str body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr Num Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad ListLoad For NameStore Str body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr Num Str TupleLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad ListLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr body Expr Str Assign NameStore NameLoad Assign NameStore ListLoad For NameStore TupleLoad Str Str Str Str Str Str Str Str Str Str Str Str body Expr Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Delete NameDel NameDel FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad For NameStore Call NameLoad Num Num body Assign NameStore Call NameLoad NameLoad BinOpMod Str TupleLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr Num Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Delete NameDel NameDel NameDel NameDel FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad For TupleStore NameStore NameStore ListLoad TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr Num BinOpAdd Str NameLoad TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Lambda arguments args defaults AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr Num Str TupleLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr ListComp Call AttributeLoad Str attr ListComp BinOpAdd BinOpAdd Str Call NameLoad NameLoad NameLoad comprehension NameStore TupleLoad Str Num Num Num comprehension NameStore Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr For NameStore TupleLoad Str Str Str Str body For NameStore TupleLoad Num Num Num Num body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num BinOpAdd Str NameLoad TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr ListComp Call AttributeLoad Str attr ListComp BinOpAdd BinOpAdd Str NameLoad NameLoad comprehension NameStore Str comprehension NameStore Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr For NameStore TupleLoad NameLoad NameLoad body For NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd BinOpAdd Str Call AttributeLoad Str attr Call NameLoad NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd BinOpAdd Str Call AttributeLoad Str attr Call NameLoad NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str TupleLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str TupleLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr For NameStore TupleLoad Str Str Str Str Str Str body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str TupleLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr For NameStore TupleLoad Num Num body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr For NameStore TupleLoad Num Num body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore Call NameLoad AttributeLoad NameLoad attr Index Str TupleLoad Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str TupleLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str TupleLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad While NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str ListLoad TupleLoad Str TupleLoad Str TupleLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str ListLoad TupleLoad Str TupleLoad Str TupleLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str ListLoad TupleLoad Str TupleLoad Str TupleLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str ListLoad TupleLoad Str TupleLoad Str TupleLoad Str Expr Call AttributeLoad NameLoad attr Str ListLoad TupleLoad Str TupleLoad Str TupleLoad Str TupleLoad ListLoad Num decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str decorator_list decorator_list
N/A twisted.python.reflect namedAny twisted.trial unittest twisted.test.proto_helpers StringTransport twisted.conch.insults.insults ServerProtocol ClientProtocol twisted.conch.insults.insults CS_UK CS_US CS_DRAWING CS_ALTERNATE CS_ALTERNATE_SPECIAL twisted.conch.insults.insults G0 G1 twisted.conch.insults.insults modes _getattr N/A N/A mock name N/A N/A N/A N/A N/A N/A super Mock mock __getattribute__ name N/A occurrences N/A N/A mock N/A N/A N/A N/A _getattr mock occurrences N/A methods N/A N/A mock N/A N/A N/A N/A _getattr mock methods N/A _append N/A N/A mock obj N/A N/A N/A N/A N/A N/A occurrences mock append obj N/A N/A default N/A object Mock N/A object N/A N/A callReturnValue default __init__ N/A N/A self methods callReturnValue N/A None default N/A N/A 
        @param methods: Mapping of names to return values
        @param callReturnValue: object __call__ should return
         N/A N/A self occurrences N/A N/A N/A methods None N/A N/A methods N/A N/A N/A self methods methods N/A N/A callReturnValue default N/A N/A N/A self callReturnValue callReturnValue N/A __call__ N/A N/A self N/A a kw N/A N/A returnValue N/A _getattr self callReturnValue N/A N/A returnValue default N/A N/A returnValue N/A Mock N/A N/A _append self N/A __call__ returnValue a kw N/A returnValue N/A __getattribute__ N/A N/A self name N/A N/A N/A methods N/A _getattr self methods N/A N/A name methods N/A N/A attrValue N/A Mock callReturnValue N/A methods N/A name N/A N/A attrValue N/A Mock N/A N/A _append self N/A name attrValue N/A attrValue N/A N/A MockMixin N/A N/A assertCall N/A N/A self occurrence methodName expectedPositionalArgs expectedKeywordArgs N/A N/A N/A N/A N/A N/A attr mock occurrence N/A N/A N/A self assertEqual attr methodName N/A N/A N/A self assertEqual N/A len N/A occurrences mock 1 N/A N/A N/A call result args kw N/A occurrences mock N/A N/A N/A self assertEqual call __call__ N/A N/A N/A self assertEqual args expectedPositionalArgs N/A N/A N/A self assertEqual kw expectedKeywordArgs N/A result N/A N/A N/A _byteGroupingTestTemplate def testByte%(groupName)s(self):
    transport = StringTransport()
    proto = Mock()
    parser = self.protocolFactory(lambda: proto)
    parser.factory = self
    parser.makeConnection(transport)

    bytes = self.TEST_BYTES
    while bytes:
        chunk = bytes[:%(bytesPer)d]
        bytes = bytes[%(bytesPer)d:]
        parser.dataReceived(chunk)

    self.verifyResults(transport, proto, parser)
 ByteGroupingsMixin N/A MockMixin N/A N/A protocolFactory None N/A N/A word n N/A N/A Pairs 2 N/A Triples 3 N/A Quads 4 N/A Quints 5 N/A Sexes 6 N/A N/A N/A _byteGroupingTestTemplate N/A groupName bytesPer word n N/A word n verifyResults N/A N/A self transport proto parser N/A N/A N/A result N/A N/A self assertCall N/A N/A N/A occurrences proto pop 0 makeConnection N/A parser N/A N/A N/A self assertEqual N/A occurrences result N/A N/A N/A N/A _byteGroupingTestTemplate ServerArrowKeysTests N/A ByteGroupingsMixin N/A unittest TestCase N/A N/A protocolFactory ServerProtocol N/A TEST_BYTES [A[B[C[D verifyResults N/A N/A self transport proto parser N/A N/A N/A N/A N/A ByteGroupingsMixin verifyResults self transport proto parser N/A arrow N/A N/A parser UP_ARROW N/A parser DOWN_ARROW N/A parser RIGHT_ARROW N/A parser LEFT_ARROW N/A N/A result N/A N/A self assertCall N/A N/A N/A occurrences proto pop 0 keystrokeReceived N/A arrow None N/A N/A N/A self assertEqual N/A occurrences result N/A N/A N/A N/A self assertFalse N/A occurrences proto N/A N/A PrintableCharactersTests N/A ByteGroupingsMixin N/A unittest TestCase N/A N/A protocolFactory ServerProtocol N/A TEST_BYTES abc123ABC!@#abc123 verifyResults N/A N/A self transport proto parser N/A N/A N/A N/A N/A ByteGroupingsMixin verifyResults self transport proto parser N/A char abc123ABC!@# N/A N/A result N/A N/A self assertCall N/A N/A N/A occurrences proto pop 0 keystrokeReceived N/A char None N/A N/A N/A self assertEqual N/A occurrences result N/A N/A char abc123 N/A N/A result N/A N/A self assertCall N/A N/A N/A occurrences proto pop 0 keystrokeReceived N/A char N/A parser ALT N/A N/A N/A self assertEqual N/A occurrences result N/A N/A occs N/A occurrences proto N/A N/A N/A self assertFalse occs N/A %r should have been [] N/A occs N/A N/A ServerFunctionKeysTests N/A ByteGroupingsMixin N/A unittest TestCase N/A N/A Test for parsing and dispatching function keys (F1 - F12)
     N/A protocolFactory ServerProtocol N/A byteList N/A N/A bytes N/A OP OQ OR OS 15~ 17~ 18~ 19~ 20~ 21~ 23~ 24~ N/A N/A N/A N/A byteList append N/A [ bytes N/A TEST_BYTES N/A N/A join byteList N/A byteList bytes verifyResults N/A N/A self transport proto parser N/A N/A N/A N/A N/A ByteGroupingsMixin verifyResults self transport proto parser N/A funcNum N/A range 1 13 N/A N/A funcArg N/A getattr parser N/A F%d N/A funcNum N/A result N/A N/A self assertCall N/A N/A N/A occurrences proto pop 0 keystrokeReceived N/A funcArg None N/A N/A N/A self assertEqual N/A occurrences result N/A N/A N/A N/A self assertFalse N/A occurrences proto N/A N/A ClientCursorMovementTests N/A ByteGroupingsMixin N/A unittest TestCase N/A N/A protocolFactory ClientProtocol N/A d2 [2B N/A r4 [4C N/A u1 [A N/A l2 [2D N/A TEST_BYTES N/A N/A N/A N/A N/A d2 r4 u1 l2 u1 l2 N/A d2 r4 u1 l2 verifyResults N/A N/A self transport proto parser N/A N/A N/A N/A N/A ByteGroupingsMixin verifyResults self transport proto parser N/A N/A method count N/A N/A Down 2 N/A Forward 4 N/A Up 1 N/A Backward 2 N/A Up 1 N/A Backward 2 N/A N/A result N/A N/A self assertCall N/A N/A N/A occurrences proto pop 0 N/A cursor method N/A count N/A N/A N/A self assertEqual N/A occurrences result N/A N/A N/A N/A self assertFalse N/A occurrences proto N/A N/A ClientControlSequencesTests N/A N/A unittest TestCase MockMixin N/A setUp N/A N/A self N/A N/A N/A N/A self transport N/A StringTransport N/A N/A self proto N/A Mock N/A N/A self parser N/A ClientProtocol N/A N/A N/A N/A N/A self proto N/A N/A N/A self parser factory self N/A N/A N/A N/A self parser makeConnection N/A self transport N/A result N/A N/A self assertCall N/A N/A N/A occurrences N/A self proto pop 0 makeConnection N/A N/A self parser N/A N/A N/A self assertFalse N/A occurrences result N/A testSimpleCardinals N/A N/A self N/A N/A N/A N/A N/A N/A self parser dataReceived N/A N/A join N/A N/A N/A join N/A N/A N/A [ N/A str n ch N/A n N/A 2 20 200 N/A ch BACD N/A occs N/A occurrences N/A self proto N/A meth N/A Down Up Forward Backward N/A N/A count N/A 1 2 20 200 N/A N/A result N/A N/A self assertCall N/A N/A occs pop 0 N/A cursor meth N/A count N/A N/A N/A self assertFalse N/A occurrences result N/A N/A N/A self assertFalse occs N/A testScrollRegion N/A N/A self N/A N/A N/A N/A N/A N/A self parser dataReceived [5;22r[r N/A occs N/A occurrences N/A self proto N/A result N/A N/A self assertCall N/A N/A occs pop 0 setScrollRegion N/A 5 22 N/A N/A N/A self assertFalse N/A occurrences result N/A result N/A N/A self assertCall N/A N/A occs pop 0 setScrollRegion N/A None None N/A N/A N/A self assertFalse N/A occurrences result N/A N/A N/A self assertFalse occs N/A testHeightAndWidth N/A N/A self N/A N/A N/A N/A N/A N/A self parser dataReceived #3#4#5#6 N/A occs N/A occurrences N/A self proto N/A result N/A N/A self assertCall N/A N/A occs pop 0 doubleHeightLine N/A True N/A N/A N/A self assertFalse N/A occurrences result N/A result N/A N/A self assertCall N/A N/A occs pop 0 doubleHeightLine N/A False N/A N/A N/A self assertFalse N/A occurrences result N/A result N/A N/A self assertCall N/A N/A occs pop 0 singleWidthLine N/A N/A N/A self assertFalse N/A occurrences result N/A result N/A N/A self assertCall N/A N/A occs pop 0 doubleWidthLine N/A N/A N/A self assertFalse N/A occurrences result N/A N/A N/A self assertFalse occs N/A testCharacterSet N/A N/A self N/A N/A N/A N/A N/A N/A self parser dataReceived N/A N/A join N/A N/A N/A join N/A N/A N/A g n N/A n AB012 N/A g () N/A occs N/A occurrences N/A self proto N/A which N/A G0 G1 N/A N/A charset N/A CS_UK CS_US CS_DRAWING CS_ALTERNATE CS_ALTERNATE_SPECIAL N/A N/A result N/A N/A self assertCall N/A N/A occs pop 0 selectCharacterSet N/A charset which N/A N/A N/A self assertFalse N/A occurrences result N/A N/A N/A self assertFalse occs N/A testShifting N/A N/A self N/A N/A N/A N/A N/A N/A self parser dataReceived N/A occs N/A occurrences N/A self proto N/A result N/A N/A self assertCall N/A N/A occs pop 0 shiftIn N/A N/A N/A self assertFalse N/A occurrences result N/A result N/A N/A self assertCall N/A N/A occs pop 0 shiftOut N/A N/A N/A self assertFalse N/A occurrences result N/A N/A N/A self assertFalse occs N/A testSingleShifts N/A N/A self N/A N/A N/A N/A N/A N/A self parser dataReceived NO N/A occs N/A occurrences N/A self proto N/A result N/A N/A self assertCall N/A N/A occs pop 0 singleShift2 N/A N/A N/A self assertFalse N/A occurrences result N/A result N/A N/A self assertCall N/A N/A occs pop 0 singleShift3 N/A N/A N/A self assertFalse N/A occurrences result N/A N/A N/A self assertFalse occs N/A testKeypadMode N/A N/A self N/A N/A N/A N/A N/A N/A self parser dataReceived => N/A occs N/A occurrences N/A self proto N/A result N/A N/A self assertCall N/A N/A occs pop 0 applicationKeypadMode N/A N/A N/A self assertFalse N/A occurrences result N/A result N/A N/A self assertCall N/A N/A occs pop 0 numericKeypadMode N/A N/A N/A self assertFalse N/A occurrences result N/A N/A N/A self assertFalse occs N/A testCursor N/A N/A self N/A N/A N/A N/A N/A N/A self parser dataReceived 78 N/A occs N/A occurrences N/A self proto N/A result N/A N/A self assertCall N/A N/A occs pop 0 saveCursor N/A N/A N/A self assertFalse N/A occurrences result N/A result N/A N/A self assertCall N/A N/A occs pop 0 restoreCursor N/A N/A N/A self assertFalse N/A occurrences result N/A N/A N/A self assertFalse occs N/A testReset N/A N/A self N/A N/A N/A N/A N/A N/A self parser dataReceived c N/A occs N/A occurrences N/A self proto N/A result N/A N/A self assertCall N/A N/A occs pop 0 reset N/A N/A N/A self assertFalse N/A occurrences result N/A N/A N/A self assertFalse occs N/A testIndex N/A N/A self N/A N/A N/A N/A N/A N/A self parser dataReceived DME N/A occs N/A occurrences N/A self proto N/A result N/A N/A self assertCall N/A N/A occs pop 0 index N/A N/A N/A self assertFalse N/A occurrences result N/A result N/A N/A self assertCall N/A N/A occs pop 0 reverseIndex N/A N/A N/A self assertFalse N/A occurrences result N/A result N/A N/A self assertCall N/A N/A occs pop 0 nextLine N/A N/A N/A self assertFalse N/A occurrences result N/A N/A N/A self assertFalse occs N/A testModes N/A N/A self N/A N/A N/A N/A N/A N/A self parser dataReceived N/A N/A [ N/A N/A ; join N/A map str N/A N/A modes KAM N/A modes IRM N/A modes LNM h N/A N/A N/A N/A self parser dataReceived N/A N/A [ N/A N/A ; join N/A map str N/A N/A modes KAM N/A modes IRM N/A modes LNM l N/A occs N/A occurrences N/A self proto N/A result N/A N/A self assertCall N/A N/A occs pop 0 setModes N/A N/A N/A modes KAM N/A modes IRM N/A modes LNM N/A N/A N/A self assertFalse N/A occurrences result N/A result N/A N/A self assertCall N/A N/A occs pop 0 resetModes N/A N/A N/A modes KAM N/A modes IRM N/A modes LNM N/A N/A N/A self assertFalse N/A occurrences result N/A N/A N/A self assertFalse occs N/A testErasure N/A N/A self N/A N/A N/A N/A N/A N/A self parser dataReceived [K[1K[2K[J[1J[2J[3P N/A occs N/A occurrences N/A self proto N/A meth N/A eraseToLineEnd eraseToLineBeginning eraseLine eraseToDisplayEnd eraseToDisplayBeginning eraseDisplay N/A N/A result N/A N/A self assertCall N/A N/A occs pop 0 meth N/A N/A N/A self assertFalse N/A occurrences result N/A result N/A N/A self assertCall N/A N/A occs pop 0 deleteCharacter N/A 3 N/A N/A N/A self assertFalse N/A occurrences result N/A N/A N/A self assertFalse occs N/A testLineDeletion N/A N/A self N/A N/A N/A N/A N/A N/A self parser dataReceived [M[3M N/A occs N/A occurrences N/A self proto N/A arg N/A 1 3 N/A N/A result N/A N/A self assertCall N/A N/A occs pop 0 deleteLine N/A arg N/A N/A N/A self assertFalse N/A occurrences result N/A N/A N/A self assertFalse occs N/A testLineInsertion N/A N/A self N/A N/A N/A N/A N/A N/A self parser dataReceived [L[3L N/A occs N/A occurrences N/A self proto N/A arg N/A 1 3 N/A N/A result N/A N/A self assertCall N/A N/A occs pop 0 insertLine N/A arg N/A N/A N/A self assertFalse N/A occurrences result N/A N/A N/A self assertFalse occs N/A testCursorPosition N/A N/A self N/A N/A N/A N/A N/A methods N/A self proto N/A reportCursorPosition N/A 6 7 N/A N/A N/A N/A self parser dataReceived [6n N/A N/A N/A self assertEqual N/A N/A N/A self transport value [7;8R N/A occs N/A occurrences N/A self proto N/A result N/A N/A self assertCall N/A N/A occs pop 0 reportCursorPosition N/A N/A N/A self assertEqual result N/A 6 7 N/A test_applicationDataBytes N/A N/A self N/A N/A N/A 
        Contiguous non-control bytes are passed to a single call to the
        C{write} method of the terminal to which the L{ClientProtocol} is
        connected.
         N/A occs N/A occurrences N/A self proto N/A N/A N/A N/A self parser dataReceived a N/A N/A N/A self assertCall N/A N/A occs pop 0 write N/A a N/A N/A N/A N/A self parser dataReceived bc N/A N/A N/A self assertCall N/A N/A occs pop 0 write N/A bc N/A _applicationDataTest N/A N/A self data calls N/A N/A N/A occs N/A occurrences N/A self proto N/A N/A N/A N/A self parser dataReceived data N/A calls N/A N/A N/A N/A self assertCall N/A N/A occs pop 0 N/A N/A calls pop 0 N/A N/A N/A self assertFalse occs N/A No other calls should happen: %r N/A occs N/A test_shiftInAfterApplicationData N/A N/A self N/A N/A N/A 
        Application data bytes followed by a shift-in command are passed to a
        call to C{write} before the terminal's C{shiftIn} method is called.
         N/A N/A N/A self _applicationDataTest ab N/A N/A write N/A ab N/A shiftIn N/A test_shiftOutAfterApplicationData N/A N/A self N/A N/A N/A 
        Application data bytes followed by a shift-out command are passed to a
        call to C{write} before the terminal's C{shiftOut} method is called.
         N/A N/A N/A self _applicationDataTest ab N/A N/A write N/A ab N/A shiftOut N/A test_cursorBackwardAfterApplicationData N/A N/A self N/A N/A N/A 
        Application data bytes followed by a cursor-backward command are passed
        to a call to C{write} before the terminal's C{cursorBackward} method is
        called.
         N/A N/A N/A self _applicationDataTest ab N/A N/A write N/A ab N/A cursorBackward N/A test_escapeAfterApplicationData N/A N/A self N/A N/A N/A 
        Application data bytes followed by an escape character are passed to a
        call to C{write} before the terminal's handler method for the escape is
        called.
         N/A N/A N/A self _applicationDataTest abD N/A N/A write N/A ab N/A index N/A N/A N/A self _applicationDataTest ab[4h N/A N/A write N/A ab N/A setModes N/A N/A 4 N/A N/A ServerProtocolOutputTests N/A N/A unittest TestCase N/A N/A 
    Tests for the bytes L{ServerProtocol} writes to its transport when its
    methods are called.
     test_nextLine N/A N/A self N/A N/A N/A 
        L{ServerProtocol.nextLine} writes C{"
"} to its transport.
         N/A protocol N/A ServerProtocol N/A transport N/A StringTransport N/A N/A N/A protocol makeConnection transport N/A N/A N/A protocol nextLine N/A N/A N/A self assertEqual N/A N/A transport value N/A N/A DeprecationsTests N/A N/A unittest TestCase N/A N/A 
    Tests to ensure deprecation of L{insults.colors} and L{insults.client}
     ensureDeprecated N/A N/A self message N/A N/A N/A 
        Ensures that the correct deprecation warning was issued.
         N/A warnings N/A N/A self flushWarnings N/A N/A N/A self assertIs N/A N/A warnings N/A 0 N/A category DeprecationWarning N/A N/A N/A self assertEqual N/A N/A warnings N/A 0 N/A message message N/A N/A N/A self assertEqual N/A len warnings 1 N/A test_colors N/A N/A self N/A N/A N/A 
        The L{insults.colors} module is deprecated
         N/A N/A namedAny twisted.conch.insults.colors N/A N/A N/A self ensureDeprecated twisted.conch.insults.colors was deprecated in Twisted 10.1.0: Please use twisted.conch.insults.helper instead. N/A test_client N/A N/A self N/A N/A N/A 
        The L{insults.client} module is deprecated
         N/A N/A namedAny twisted.conch.insults.client N/A N/A N/A self ensureDeprecated twisted.conch.insults.client was deprecated in Twisted 10.1.0: Please use twisted.conch.insults.insults instead. N/A N/A