[Zodb-checkins] CVS: Packages/ZConfig/tests - testSubstitution.py:1.3

Fred L. Drake, Jr. fred@zope.com
Thu, 7 Nov 2002 14:04:00 -0500


Update of /cvs-repository/Packages/ZConfig/tests
In directory cvs.zope.org:/tmp/cvs-serv1700

Modified Files:
	testSubstitution.py 
Log Message:
Only use the ContainerDict if we need a container attribute to look up
the containment hierarchy.


=== Packages/ZConfig/tests/testSubstitution.py 1.2 => 1.3 ===
--- Packages/ZConfig/tests/testSubstitution.py:1.2	Thu Nov  7 13:54:39 2002
+++ Packages/ZConfig/tests/testSubstitution.py	Thu Nov  7 14:03:59 2002
@@ -91,8 +91,8 @@
                           get, d, "name")
 
     def test_container_search(self):
-        d1 = ContainerDict({"outer": "outervalue",
-                            "inner": "inner-from-outer"})
+        d1 = {"outer": "outervalue",
+              "inner": "inner-from-outer"}
         d2 = ContainerDict({"inner": "inner-from-inner",
                             "bogus": "${nothere}",
                             "both": "${inner} ${outer}"}, d1)