[Zodb-checkins] CVS: ZODB3/ZODB/tests - testConfig.py:1.4

Jeremy Hylton jeremy@zope.com
Mon, 6 Jan 2003 17:42:22 -0500


Update of /cvs-repository/ZODB3/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv27907/ZODB/tests

Modified Files:
	testConfig.py 
Log Message:
Finish configuration for DemoStorage.

There's now concrete test of recursively defined section types.


=== ZODB3/ZODB/tests/testConfig.py 1.3 => 1.4 ===
--- ZODB3/ZODB/tests/testConfig.py:1.3	Fri Jan  3 17:52:11 2003
+++ ZODB3/ZODB/tests/testConfig.py	Mon Jan  6 17:42:19 2003
@@ -76,6 +76,15 @@
         """
         self.assertRaises(ClientDisconnected, self._test, cfg)
 
+    def test_demo_config(self):
+        cfg = """
+        <demostorage>
+            name foo
+            <mappingstorage/>
+        </demostorage>
+        """
+        self._test(cfg)
+
 class BDBConfigTest(ConfigTestBase):
     def setUp(self):
         self._path = tempfile.mktemp()