[Zope3-checkins] SVN: Zope3/trunk/src/zope/testbrowser/dummymodules.py add file missing from last zope.testbrowser commit

Benji York benji at zope.com
Sat Nov 12 11:30:47 EST 2005


Log message for revision 40060:
  add file missing from last zope.testbrowser commit
  

Changed:
  A   Zope3/trunk/src/zope/testbrowser/dummymodules.py

-=-
Added: Zope3/trunk/src/zope/testbrowser/dummymodules.py
===================================================================
--- Zope3/trunk/src/zope/testbrowser/dummymodules.py	2005-11-12 16:27:25 UTC (rev 40059)
+++ Zope3/trunk/src/zope/testbrowser/dummymodules.py	2005-11-12 16:30:47 UTC (rev 40060)
@@ -0,0 +1,15 @@
+class DummyInterfaceModule(object):
+    Interface = object
+
+    def __getattr__(self, name):
+        return lambda *args, **kws: None
+
+interface = DummyInterfaceModule()
+
+class DummySchemaModule(object):
+    def __getattr__(self, name):
+        return lambda *args, **kws: interface.Attribute('')
+
+schema = DummySchemaModule()
+
+


Property changes on: Zope3/trunk/src/zope/testbrowser/dummymodules.py
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native



More information about the Zope3-Checkins mailing list