[Zodb-checkins] CVS: Packages/ZConfig/tests - testConfig.py:1.10
Fred L. Drake, Jr.
fred@zope.com
Fri, 22 Nov 2002 12:08:41 -0500
Update of /cvs-repository/Packages/ZConfig/tests
In directory cvs.zope.org:/tmp/cvs-serv15842
Modified Files:
testConfig.py
Log Message:
Adjust test to rely on getChildSections() being case-insensitive, the
way it should be. Exposes a real bug.
=== Packages/ZConfig/tests/testConfig.py 1.9 => 1.10 ===
--- Packages/ZConfig/tests/testConfig.py:1.9 Thu Nov 21 17:09:00 2002
+++ Packages/ZConfig/tests/testConfig.py Fri Nov 22 12:08:40 2002
@@ -182,7 +182,7 @@
L.append(sect)
self.assertEqual(sect.get("var"), "triv")
break
- L2 = conf.getChildSections("trivial")
+ L2 = conf.getChildSections("TRIVIAL")
self.assertEqual(L, L2)
def test_basic_import(self):