[Checkins] SVN: megrok.chameleon/trunk/src/megrok/chameleon/tests/genshi_fixture/app.py Add fake view to let template registry shut up.

Uli Fouquet uli at gnufix.de
Thu May 20 09:14:31 EDT 2010


Log message for revision 112567:
  Add fake view to let template registry shut up.
  

Changed:
  U   megrok.chameleon/trunk/src/megrok/chameleon/tests/genshi_fixture/app.py

-=-
Modified: megrok.chameleon/trunk/src/megrok/chameleon/tests/genshi_fixture/app.py
===================================================================
--- megrok.chameleon/trunk/src/megrok/chameleon/tests/genshi_fixture/app.py	2010-05-20 13:13:28 UTC (rev 112566)
+++ megrok.chameleon/trunk/src/megrok/chameleon/tests/genshi_fixture/app.py	2010-05-20 13:14:31 UTC (rev 112567)
@@ -35,3 +35,7 @@
 inline = components.ChameleonPageTemplate(
     "<html><body>ME GROK HAS INLINES!</body></html>")
 
+class Fake(grokcore.view.View):
+    # A fake view to stop faulty template registry from complaining about
+    # missing classes.
+    grokcore.view.template('berries')



More information about the checkins mailing list