[Zodb-checkins] CVS: Packages/ZConfig/tests - testConfig.py:1.9

Fred L. Drake, Jr. fred@zope.com
Thu, 21 Nov 2002 17:09:00 -0500


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

Modified Files:
	testConfig.py 
Log Message:
Fix clear bug in tests.
Too many xterms are painful.  ;-(


=== Packages/ZConfig/tests/testConfig.py 1.8 => 1.9 ===
--- Packages/ZConfig/tests/testConfig.py:1.8	Thu Nov 21 14:21:09 2002
+++ Packages/ZConfig/tests/testConfig.py	Thu Nov 21 17:09:00 2002
@@ -178,8 +178,8 @@
         self.assert_(sect.get("var-one") is None)
         L = []
         for sect in conf.getChildSections():
-            L.append(sect)
             if sect.type == "trivial":
+                L.append(sect)
                 self.assertEqual(sect.get("var"), "triv")
                 break
         L2 = conf.getChildSections("trivial")