Module ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ClassDef bases body Expr Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Assert AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assert CompareEq NameLoad TupleLoad NameLoad NameLoad BinOpMod Str TupleLoad NameLoad TupleLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad TupleLoad Str Dict Str Str Str Str Num Str Str Num Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Num Assert UnaryOpNot AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad TupleLoad Str Dict Str Str Str Str Num Str Str Num TupleLoad Str Dict Str Str Str Str Num Str Str Num Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Num Expr Call AttributeLoad NameLoad attr Str keyword Num Assert UnaryOpNot AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad TupleLoad Str Dict Str Str Str Str Num Str Str Num Assign NameStore Call NameLoad ListLoad TupleLoad Str Dict Str Str Str Str Num Str Str Num Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Num Assert UnaryOpNot AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assert UnaryOpNot AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Num Expr Call AttributeLoad NameLoad attr Str keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad TupleLoad Str Dict Str Str Str Str Num Str Str Num TupleLoad Str Dict Str Str Str Str Num Str Str Num Expr Call AttributeLoad NameLoad attr Num NameLoad Assign NameStore Call NameLoad ListLoad TupleLoad Str Dict Str Str Str Str Num Str Str Num TupleLoad Str Dict Str Str Str Str Num Str Str Num Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Num Expr Call AttributeLoad NameLoad attr Str keyword Num Expr Call AttributeLoad NameLoad attr Str keyword Num Expr Call AttributeLoad NameLoad attr Str keyword Num Assert UnaryOpNot AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assert UnaryOpNot AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr Num Str handlers ExceptHandler type AttributeLoad NameLoad attr body Pass orelse Raise NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr Num Call NameLoad ListLoad handlers ExceptHandler type NameLoad name NameStore body If CompareEq AttributeLoad NameLoad attr TupleLoad Str body Pass orelse Raise orelse Raise NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr BinOpPow Num Num Call NameLoad ListLoad handlers ExceptHandler type NameLoad name NameStore body If CompareEq AttributeLoad NameLoad attr TupleLoad Str body Pass orelse Raise orelse Raise NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpPow Num Num Num Call NameLoad ListLoad handlers ExceptHandler type NameLoad name NameStore body If CompareEq AttributeLoad NameLoad attr TupleLoad Str body Pass orelse Raise orelse Raise NameLoad Str decorator_list decorator_list
N/A twisted.trial unittest twisted.internet protocol reactor error twisted.python failure components twisted.pair ethernet raw zope.interface implements MyProtocol N/A N/A N/A N/A implements N/A raw IRawPacketProtocol __init__ N/A N/A self expecting N/A N/A N/A N/A self expecting N/A list expecting N/A datagramReceived N/A N/A self data N/A kw N/A N/A N/A self expecting Got a packet when not expecting anymore. N/A expect N/A N/A N/A self expecting pop 0 N/A N/A expect N/A data kw N/A Expected %r, got %r N/A expect N/A data kw N/A N/A EthernetTestCase N/A N/A unittest TestCase N/A testPacketParsing N/A N/A self N/A N/A N/A proto N/A N/A ethernet EthernetProtocol N/A p1 N/A MyProtocol N/A N/A foobar N/A partial dest source protocol 0 123456 987654 2048 N/A N/A N/A proto addProto 2048 p1 N/A N/A N/A proto datagramReceived 123456987654foobar partial 0 N/A N/A N/A p1 expecting N/A Should not expect any more packets, but still want %r N/A p1 expecting N/A testMultiplePackets N/A N/A self N/A N/A N/A proto N/A N/A ethernet EthernetProtocol N/A p1 N/A MyProtocol N/A N/A foobar N/A partial dest source protocol 0 123456 987654 2048 N/A quux N/A partial dest source protocol 1 012345 abcdef 2048 N/A N/A N/A proto addProto 2048 p1 N/A N/A N/A proto datagramReceived 123456987654foobar partial 0 N/A N/A N/A proto datagramReceived 012345abcdefquux partial 1 N/A N/A N/A p1 expecting N/A Should not expect any more packets, but still want %r N/A p1 expecting N/A testMultipleSameProtos N/A N/A self N/A N/A N/A proto N/A N/A ethernet EthernetProtocol N/A p1 N/A MyProtocol N/A N/A foobar N/A partial dest source protocol 0 123456 987654 2048 N/A p2 N/A MyProtocol N/A N/A foobar N/A partial dest source protocol 0 123456 987654 2048 N/A N/A N/A proto addProto 2048 p1 N/A N/A N/A proto addProto 2048 p2 N/A N/A N/A proto datagramReceived 123456987654foobar partial 0 N/A N/A N/A p1 expecting N/A Should not expect any more packets, but still want %r N/A p1 expecting N/A N/A N/A p2 expecting N/A Should not expect any more packets, but still want %r N/A p2 expecting N/A testWrongProtoNotSeen N/A N/A self N/A N/A N/A proto N/A N/A ethernet EthernetProtocol N/A p1 N/A MyProtocol N/A N/A N/A N/A proto addProto 2049 p1 N/A N/A N/A proto datagramReceived 123456987654foobar partial 0 N/A N/A N/A proto datagramReceived 012345abcdefquux partial 1 N/A testDemuxing N/A N/A self N/A N/A N/A proto N/A N/A ethernet EthernetProtocol N/A p1 N/A MyProtocol N/A N/A foobar N/A partial dest source protocol 0 123456 987654 2048 N/A quux N/A partial dest source protocol 1 012345 abcdef 2048 N/A N/A N/A proto addProto 2048 p1 N/A p2 N/A MyProtocol N/A N/A quux N/A partial dest source protocol 1 012345 abcdef 2054 N/A foobar N/A partial dest source protocol 0 123456 987654 2054 N/A N/A N/A proto addProto 2054 p2 N/A N/A N/A proto datagramReceived 123456987654foobar partial 0 N/A N/A N/A proto datagramReceived 012345abcdefquux partial 1 N/A N/A N/A proto datagramReceived 123456987654foobar partial 0 N/A N/A N/A proto datagramReceived 012345abcdefquux partial 1 N/A N/A N/A p1 expecting N/A Should not expect any more packets, but still want %r N/A p1 expecting N/A N/A N/A p2 expecting N/A Should not expect any more packets, but still want %r N/A p2 expecting N/A testAddingBadProtos_WrongLevel N/A N/A self N/A N/A N/A Adding a wrong level protocol raises an exception. N/A e N/A N/A ethernet EthernetProtocol N/A N/A N/A N/A N/A e addProto 42 silliness N/A N/A N/A N/A components CannotAdapt N/A N/A N/A N/A AssertionError addProto must raise an exception for bad protocols N/A testAddingBadProtos_TooSmall N/A N/A self N/A N/A N/A Adding a protocol with a negative number raises an exception. N/A e N/A N/A ethernet EthernetProtocol N/A N/A N/A N/A N/A e addProto -1 N/A MyProtocol N/A N/A N/A N/A TypeError N/A e N/A N/A N/A N/A e args N/A Added protocol must be positive or zero N/A N/A N/A N/A N/A N/A AssertionError addProto must raise an exception for bad protocols N/A testAddingBadProtos_TooBig N/A N/A self N/A N/A N/A Adding a protocol with a number >=2**16 raises an exception. N/A e N/A N/A ethernet EthernetProtocol N/A N/A N/A N/A N/A e addProto N/A 2 16 N/A MyProtocol N/A N/A N/A N/A TypeError N/A e N/A N/A N/A N/A e args N/A Added protocol must fit in 16 bits N/A N/A N/A N/A N/A N/A AssertionError addProto must raise an exception for bad protocols N/A testAddingBadProtos_TooBig2 N/A N/A self N/A N/A N/A Adding a protocol with a number >=2**16 raises an exception. N/A e N/A N/A ethernet EthernetProtocol N/A N/A N/A N/A N/A e addProto N/A N/A 2 16 1 N/A MyProtocol N/A N/A N/A N/A TypeError N/A e N/A N/A N/A N/A e args N/A Added protocol must fit in 16 bits N/A N/A N/A N/A N/A N/A AssertionError addProto must raise an exception for bad protocols N/A N/A