Ticket #5527 enhancement new
Expose twisted.web.test._util._render to help third-party code in testing resrources.
| Reported by: | tom.prince | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | web | Keywords: | |
| Cc: | jknight | Branch: | |
| Author: | Launchpad Bug: |
Description
It looks like as currently implemented, twisted.web.test._util._render may not work in the NOT_DONE_YET case, if the request it is passed is a real request.
1. It is a queued request, and so the deferred never fires.
2. It isn't, and request.content == None doesn't exist causing an error in Request._cleanup
I'm not sure how best to handle this, or if this is the right approach for adding this testing utility.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

