[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/intid/tests.py Changed a test to work with recent change to key references for

Jim Fulton jim at zope.com
Tue Jun 21 06:28:32 EDT 2005


Log message for revision 30873:
  Changed a test to work with recent change to key references for
  persistent objects. This should have gotten checked in the 
  other day.
  

Changed:
  U   Zope3/trunk/src/zope/app/intid/tests.py

-=-
Modified: Zope3/trunk/src/zope/app/intid/tests.py
===================================================================
--- Zope3/trunk/src/zope/app/intid/tests.py	2005-06-21 10:28:30 UTC (rev 30872)
+++ Zope3/trunk/src/zope/app/intid/tests.py	2005-06-21 10:28:32 UTC (rev 30873)
@@ -42,6 +42,12 @@
 
 class ConnectionStub(object):
     next = 1
+
+    def db(self):
+        return self
+
+    database_name = 'ConnectionStub'
+    
     def add(self, ob):
         ob._p_jar = self
         ob._p_oid = self.next



More information about the Zope3-Checkins mailing list