#5527 enhancement new
Expose twisted.web.test._util._render to help third-party code in testing resources.
|Reported by:||tom.prince||Owned by:|
|Cc:||jknight, julian, hynek||Branch:|
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.
- It is a queued request, and so the deferred never fires.
- 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.
Change History (14)
comment:2 follow-up: ↓ 3 Changed 4 years ago by dreid
- Keywords review removed
- Owner set to tom.prince