Opened 6 years ago

Last modified 2 years ago

#3325 enhancement new

Write a supported and verified fake transport for testing protocols

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

Description

Currently we have at least four, one of which is likely sufficient as basis for this; the rest should be deprecated and replaced if possible. twisted.test.test_pb has one, as do iosim.py, loopback.py, test_helpers.py and likely others.

Change History (4)

comment:1 Changed 6 years ago by glyph

I don't think the compatibility policy applies to stuff in .test. packages. Unless there's a whole lot of code internally in Twisted using this stuff, I don't think we need to bother with a deprecation phase. Or unless there are applications whose test suites do?

comment:2 Changed 5 years ago by glyph

  • Owner changed from glyph to exarkun
  • Priority changed from lowest to normal

I think this might be a duplicate of something, but I recently noticed that the Imaginary test suite imports `proto_helpers` which brought this to mind.

comment:3 Changed 4 years ago by <automation>

  • Owner exarkun deleted

comment:4 Changed 2 years ago by therve

LocalWorkerAMPTestCase.pumpTransports in twisted/trial/_dist/test/test_worker.py may benefit of that.

Note: See TracTickets for help on using tickets.