#2008: [PATCH] Turbogears does not support genshi.new_text_syntax option
----------------------------------------------+-----------------------------
Reporter: kikidonk | Owner: faide
Type: enhancement | Status: new
Priority: high | Milestone: 1.1 beta 2
Component: TurboGears | Version: 1.0 HEAD
Severity: normal | Resolution:
Keywords: genshi, needs patch, needs tests |
----------------------------------------------+-----------------------------
Comment (by Chris Arndt):
Add a method to `turbogears.tests.test_view.TestView`, which calls
`view.load_engines()` sets the `tg.defaultview` and
`genshi.new_text_syntax` config options (saving the current values first)
and renders a text template using `view.render()`, restores the config
settings, calls `view.load_engines()` again to reset the state, and then
asserts the output is correct.
--
Ticket URL: <http://trac.turbogears.org/ticket/2008#comment:10>
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.
This group is read-only. No posting by normal members allowed.
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?hl=en
-~----------~----~----~----~------~----~------~--~---