[Checkins] SVN: megrok.chameleon/trunk/src/megrok/chameleon/tests/cpt_fixture/app.py Add view with expression/viewlet tests in CPT fixture.
Uli Fouquet
uli at gnufix.de
Wed Jul 8 06:52:49 EDT 2009
Log message for revision 101729:
Add view with expression/viewlet tests in CPT fixture.
Changed:
U megrok.chameleon/trunk/src/megrok/chameleon/tests/cpt_fixture/app.py
-=-
Modified: megrok.chameleon/trunk/src/megrok/chameleon/tests/cpt_fixture/app.py
===================================================================
--- megrok.chameleon/trunk/src/megrok/chameleon/tests/cpt_fixture/app.py 2009-07-08 10:51:11 UTC (rev 101728)
+++ megrok.chameleon/trunk/src/megrok/chameleon/tests/cpt_fixture/app.py 2009-07-08 10:52:49 UTC (rev 101729)
@@ -22,3 +22,15 @@
class Vars(grok.View):
pass
+
+class Expressions(grok.View):
+ pass
+
+class MainArea(grok.ViewletManager):
+ grok.name('main')
+
+class MainContent(grok.Viewlet):
+ grok.view(Expressions)
+ grok.viewletmanager(MainArea)
+ def render(self):
+ return 'Hello from viewlet'
More information about the Checkins
mailing list