[Zodb-checkins] SVN: ZODB/trunk/src/ZODB/tests/multidb.txt The databasesFrom... methods now support multiple databases.

Jim Fulton jim at zope.com
Thu Apr 30 07:43:51 EDT 2009


Log message for revision 99605:
  The databasesFrom... methods now support multiple databases.
  
  This changed the schema, so we have to use the schema
  differently. Presumably the schema is private.
  

Changed:
  U   ZODB/trunk/src/ZODB/tests/multidb.txt

-=-
Modified: ZODB/trunk/src/ZODB/tests/multidb.txt
===================================================================
--- ZODB/trunk/src/ZODB/tests/multidb.txt	2009-04-30 11:43:49 UTC (rev 99604)
+++ ZODB/trunk/src/ZODB/tests/multidb.txt	2009-04-30 11:43:51 UTC (rev 99605)
@@ -181,7 +181,7 @@
 
 The desired ``databases`` mapping can be passed to this factory:
 
-    >>> db2 = factory.open(databases=db.databases)
+    >>> db2 = factory[0].open(databases=db.databases)
     >>> print db2.database_name   # has the right name
     another_name
     >>> db.databases is db2.databases # shares .databases with `db`



More information about the Zodb-checkins mailing list