[Zope3-checkins] SVN: Zope3/trunk/src/zope/testbrowser/interfaces.py make my fake zope.schema work

Benji York benji at zope.com
Sun Nov 6 21:45:17 EST 2005


Log message for revision 39957:
  make my fake zope.schema work
  

Changed:
  U   Zope3/trunk/src/zope/testbrowser/interfaces.py

-=-
Modified: Zope3/trunk/src/zope/testbrowser/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/testbrowser/interfaces.py	2005-11-07 02:23:10 UTC (rev 39956)
+++ Zope3/trunk/src/zope/testbrowser/interfaces.py	2005-11-07 02:45:17 UTC (rev 39957)
@@ -25,7 +25,7 @@
 except ImportError:
     class DummySchemaModule(object):
         def __getattr__(self, name):
-            return lambda *args, **kws: None
+            return lambda *args, **kws: interface.Attribute('')
 
     schema = DummySchemaModule()
 



More information about the Zope3-Checkins mailing list