Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1137 (closed enhancement: fixed)

Opened 13 years ago

Last modified 12 years ago

[PATCH] make turbogears.url work in the absense of cherrypy.request

Reported by: max Owned by: max
Priority: high Milestone: 1.0b3
Component: TurboGears Version: 1.0b1
Severity: normal Keywords:


Currently if you try to use turbogears.url when CherryPy?'s request is not available you can get ugly CherryPy? exception. This makes unit testing harder. The patch is aimed to provide a fallback if request is not available by using empty app_root.


url.patch Download (2.9 KB) - added by max 13 years ago.

Change History

Changed 13 years ago by max

comment:2 Changed 13 years ago by jorge.vargas

  • Priority changed from normal to high
  • Milestone set to 1.0b3

comment:3 Changed 13 years ago by max

  • Status changed from new to assigned
  • Owner changed from anonymous to max

comment:4 Changed 13 years ago by max

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.