[Zodb-checkins] CVS: Packages/ZConfig/tests - test_loader.py:1.10
Fred L. Drake, Jr.
fred@zope.com
Mon, 13 Jan 2003 12:41:58 -0500
Update of /cvs-repository/Packages/ZConfig/tests
In directory cvs.zope.org:/tmp/cvs-serv7068
Modified Files:
test_loader.py
Log Message:
Remove test that doesn't make sense, and doesn't test the current
incarnation of what it claims to test.
=== Packages/ZConfig/tests/test_loader.py 1.9 => 1.10 ===
--- Packages/ZConfig/tests/test_loader.py:1.9 Thu Jan 9 17:29:36 2003
+++ Packages/ZConfig/tests/test_loader.py Mon Jan 13 12:41:55 2003
@@ -44,18 +44,6 @@
schema2 = loader.loadURL(url)
self.assert_(schema1 is schema2)
- def test_schema_components(self):
- loader = ZConfig.loader.SchemaLoader()
- url = ZConfig.url.urljoin(CONFIG_BASE, "library.xml")
- schema = loader.loadURL(url)
- type_a = loader.loadURL(url + "#type-a")
- type_b = loader.loadURL(url + "#type-b")
- self.assertEqual(type_a.name, "type-a")
- self.assertEqual(type_b.name, "type-b")
- # make sure we're using the cached schema for the types
- self.assert_(type_a is schema.gettype("type-a"))
- self.assert_(type_b is schema.gettype("type-b"))
-
def test_simple_import_with_cache(self):
loader = ZConfig.loader.SchemaLoader()
url1 = ZConfig.url.urljoin(CONFIG_BASE, "library.xml")