Opened 3 years ago

Last modified 8 months ago

#5167 enhancement new

consolidate uses of "fake" transports

Reported by: dustin Owned by: dustin
Priority: normal Milestone:
Component: core Keywords:
Cc: Branch:
Author: Launchpad Bug:

Description

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 months 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.