Cheers
Roger
Oops. Nose itself was crashing on me so I haven't been able to run the
tests.
Kevin, is there a reason the loading of the template engines was
deferred? Loading them at module load-time seems to work, but I don't
know if there's a reason this wasn't done previously:
Index: turbogears/view/base.py
===================================================================
--- turbogears/view/base.py (revision 1695)
+++ turbogears/view/base.py (working copy)
@@ -77,7 +77,6 @@
variableProviders = DeprecatedVariableProviders()
def _choose_engine(template):
- _load_engines()
if isinstance(template, basestring):
colon = template.find(":")
if colon > -1:
@@ -342,3 +341,4 @@
engine = entrypoint.load()
engines[entrypoint.name] = engine(stdvars, engine_options)
+_load_engines()