Opened 10 years ago

Last modified 8 years ago

#5167 enhancement new

consolidate uses of "fake" transports

Reported by: Dustin J. Mitchell Owned by: Dustin J. Mitchell
Priority: normal Milestone:
Component: core Keywords:
Cc: Branch:


From a brief IRC conversation with glyph, we have

  • IOPump
  • loopbackAsync
  • StringTransport
  • FileWrapper

which can probably be consolidated somewhat.

Change History (1)

comment:1 Changed 8 years ago by Glyph

Actually the situation is somewhat worse than the description, even.

  • twisted.test.iosim.IOPump
  • twisted.test.iosim.FakeTransport
  • twisted.test.test_pb.IOPump
  • twisted.test.testutils.IOPump
  • twisted.test.proto_helpers.StringTransport
  • twisted.test.proto_helpers.StringTransportWithDisconnection

A good start on this (perhaps a smaller ticket?) would be to unify the uses of IOPump.

Note: See TracTickets for help on using tickets.