[Zope3-checkins] CVS: Packages/ZConfig/tests - test_schema.py:1.8
Fred L. Drake, Jr.
fred@zope.com
Fri, 10 Jan 2003 15:37:53 -0500
Update of /cvs-repository/Packages/ZConfig/tests
In directory cvs.zope.org:/tmp/cvs-serv25394/tests
Modified Files:
test_schema.py
Log Message:
The <schema> element no longer supports a "type" attribute, since
component imports are better now, and do not use that element.
=== Packages/ZConfig/tests/test_schema.py 1.7 => 1.8 ===
--- Packages/ZConfig/tests/test_schema.py:1.7 Thu Jan 9 00:42:31 2003
+++ Packages/ZConfig/tests/test_schema.py Fri Jan 10 15:37:50 2003
@@ -420,14 +420,14 @@
self.assertEqual(schema.getrequiredtypes(), [])
schema = self.load_schema_text(
- "<schema type='top'>"
+ "<schema>"
" <sectiontype name='used'/>"
" <sectiontype name='unused'/>"
" <section type='used' name='a'/>"
"</schema>")
L = schema.getrequiredtypes()
L.sort()
- self.assertEqual(L, ["top", "used"])
+ self.assertEqual(L, ["used"])
def test_getunusedtypes(self):
schema = self.load_schema("library.xml")