#1203: testutil.call_with_request unusable with "raise redirect()"
---------------------------+------------------------------------------------
Reporter: Felix.Schwarz | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: unassigned | Version: 1.0b2
Severity: normal | Resolution:
Keywords: |
---------------------------+------------------------------------------------
Comment (by Felix.Schwarz):
Actually, I found that DummyRequest is a bit too simple. The updated test
case will reveal that the TurboGears version is lacking several important
attributes/functions such as browser_url. This is fixed by the patch
attached as DummyRequest inherits from cherrypy's Request now.
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/1203>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en
-~----------~----~----~----~------~----~------~--~---