[Zope3-checkins] CVS: Zope3/src/zope/app/tests - ztapi.py:1.4.20.1

Garrett Smith garrett at mojave-corp.com
Thu Feb 26 00:11:29 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/tests
In directory cvs.zope.org:/tmp/cvs-serv25181/src/zope/app/tests

Modified Files:
      Tag: garrett-widgets2-branch
	ztapi.py 
Log Message:
Yet another branch for widgets refactoring (YABFWR).


=== Zope3/src/zope/app/tests/ztapi.py 1.4 => 1.4.20.1 ===
--- Zope3/src/zope/app/tests/ztapi.py:1.4	Wed Dec 17 05:06:51 2003
+++ Zope3/src/zope/app/tests/ztapi.py	Thu Feb 26 00:10:57 2004
@@ -28,6 +28,10 @@
     return s.provideView(for_, name, IBrowserRequest, factory, layer,
                          providing=providing)
 
+def browserViewProviding(for_, factory, providing, layer='default'):
+    """Define a view providing a particular interface."""
+    return browserView(for_, '', factory, layer, providing)
+
 def browserResource(name, factory, layer='default',
                     providing=zope.interface.Interface):
     """Define a global browser view




More information about the Zope3-Checkins mailing list