[Zodb-checkins] SVN: ZODB/trunk/src/ZODB/tests/testConnection.py MappingStorage's isReadOnly method never returns false.

Jim Fulton jim at zope.com
Sat Oct 25 20:36:27 EDT 2008


Log message for revision 92563:
  MappingStorage's isReadOnly method never returns false.
  

Changed:
  U   ZODB/trunk/src/ZODB/tests/testConnection.py

-=-
Modified: ZODB/trunk/src/ZODB/tests/testConnection.py
===================================================================
--- ZODB/trunk/src/ZODB/tests/testConnection.py	2008-10-26 00:36:24 UTC (rev 92562)
+++ ZODB/trunk/src/ZODB/tests/testConnection.py	2008-10-26 00:36:27 UTC (rev 92563)
@@ -353,7 +353,7 @@
 
         An expedient way to create a read-only storage:
 
-        >>> db._storage._is_read_only = True
+        >>> db._storage.isReadOnly = lambda: True
         >>> cn = db.open()
         >>> cn.isReadOnly()
         True



More information about the Zodb-checkins mailing list