Ticket #3325 enhancement new

Opened 5 years ago

Last modified 10 months ago

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

1

Changed 5 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?

2

Changed 4 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.

3

Changed 2 years ago by <automation>

  • owner exarkun deleted

4

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