[Checkins] SVN: grok/trunk/src/grok/ftests/url/application.py Play nice and don't register an Index view for *, it disturbes other ftests.

Philipp von Weitershausen philikon at philikon.de
Fri May 2 10:25:54 EDT 2008


Log message for revision 86096:
  Play nice and don't register an Index view for *, it disturbes other ftests.

Changed:
  U   grok/trunk/src/grok/ftests/url/application.py

-=-
Modified: grok/trunk/src/grok/ftests/url/application.py
===================================================================
--- grok/trunk/src/grok/ftests/url/application.py	2008-05-02 14:18:36 UTC (rev 86095)
+++ grok/trunk/src/grok/ftests/url/application.py	2008-05-02 14:25:53 UTC (rev 86096)
@@ -38,28 +38,29 @@
   
 """
 import zope.interface
-
 import grok
 
+class IMarker(zope.interface.Interface):
+    pass
 
+
 class Index(grok.View):
-    grok.context(zope.interface.Interface)
+    grok.context(IMarker)
 
     def render(self):
         return self.application_url()
 
 class Second(grok.View):
-    grok.context(zope.interface.Interface)
+    grok.context(IMarker)
 
     def render(self):
         return self.application_url('second')
     
 class Cave(grok.Application, grok.Container):
-    pass
+    grok.implements(IMarker)
 
-
 class CaveMan(grok.Model):
-    pass
+    grok.implements(IMarker)
 
 class Corridors(grok.Container):
-    pass
+    grok.implements(IMarker)



More information about the Checkins mailing list