[Zodb-checkins]
SVN: ZODB/branches/pycon-multidb/src/ZODB/tests/testmultidb.py
More minor fiddling.
Tim Peters
tim.one at comcast.net
Sat Mar 19 18:46:19 EST 2005
Log message for revision 29587:
More minor fiddling.
Changed:
U ZODB/branches/pycon-multidb/src/ZODB/tests/testmultidb.py
-=-
Modified: ZODB/branches/pycon-multidb/src/ZODB/tests/testmultidb.py
===================================================================
--- ZODB/branches/pycon-multidb/src/ZODB/tests/testmultidb.py 2005-03-19 23:04:21 UTC (rev 29586)
+++ ZODB/branches/pycon-multidb/src/ZODB/tests/testmultidb.py 2005-03-19 23:46:19 UTC (rev 29587)
@@ -15,7 +15,7 @@
Multi-database tests
====================
-Multi-database support adds the ability to tie multiple database into a
+Multi-database support adds the ability to tie multiple databases into a
collection.
Creating a multi-database starts with creating a named DB:
@@ -53,6 +53,11 @@
...
ValueError: database_name 'root' already in databases
+Because that failed, db.databases wasn't changed:
+
+>>> len(db.databases) # still 2
+2
+
You can (still) get a connection to a database this way:
>>> cn = db.open()
More information about the Zodb-checkins
mailing list