[Checkins] SVN: megrok.chameleon/branches/ulif-z3c.pt-less/src/megrok/chameleon/tests/cpt_fixture/app.py Add views in fixture that deploy the new templates.

Uli Fouquet uli at gnufix.de
Wed Mar 3 04:58:49 EST 2010


Log message for revision 109590:
  Add views in fixture that deploy the new templates.
  

Changed:
  U   megrok.chameleon/branches/ulif-z3c.pt-less/src/megrok/chameleon/tests/cpt_fixture/app.py

-=-
Modified: megrok.chameleon/branches/ulif-z3c.pt-less/src/megrok/chameleon/tests/cpt_fixture/app.py
===================================================================
--- megrok.chameleon/branches/ulif-z3c.pt-less/src/megrok/chameleon/tests/cpt_fixture/app.py	2010-03-03 09:57:28 UTC (rev 109589)
+++ megrok.chameleon/branches/ulif-z3c.pt-less/src/megrok/chameleon/tests/cpt_fixture/app.py	2010-03-03 09:58:49 UTC (rev 109590)
@@ -39,3 +39,13 @@
     grokcore.viewlet.viewletmanager(MainArea)
     def render(self):
         return 'Hello from viewlet'
+
+class MacroMaster(grokcore.view.View):
+    """A view with a template that contains macro defs.
+    """
+    pass
+
+class MacroUser(grokcore.view.View):
+    """A view with a template that uses macros.
+    """
+    pass



More information about the checkins mailing list