#9007 enhancement closed duplicate (duplicate)

successResultOf and failureResultOf should accept coroutines

Reported by: Wilfredo Sánchez Vega Owned by:
Priority: normal Milestone:
Component: core Keywords:
Cc: Branch:
Author:

Description

The successResultOf and failureResultOf methods on twisted.trial.unittest.SynchronousTestCase should handle coroutines as well as Deferreds.

Adding deferred = ensureDeferred(deferred) at the top of each seems to work.

Change History (1)

comment:1 Changed 11 months ago by Wilfredo Sánchez Vega

Resolution: duplicate
Status: newclosed

Duplicate of #9007 because computers

Note: See TracTickets for help on using tickets.