[Zodb-checkins] CVS: Packages/ZConfig/tests - test_zopeschema.py:1.1.2.7
Fred L. Drake, Jr.
fred@zope.com
Tue, 24 Dec 2002 15:49:51 -0500
Update of /cvs-repository/Packages/ZConfig/tests
In directory cvs.zope.org:/tmp/cvs-serv10615
Modified Files:
Tag: zconfig-schema-devel-branch
test_zopeschema.py
Log Message:
Load the Zope schema from the resources directory instead of
tests/input/.
=== Packages/ZConfig/tests/test_zopeschema.py 1.1.2.6 => 1.1.2.7 ===
--- Packages/ZConfig/tests/test_zopeschema.py:1.1.2.6 Mon Dec 23 14:37:28 2002
+++ Packages/ZConfig/tests/test_zopeschema.py Tue Dec 24 15:49:51 2002
@@ -119,11 +119,11 @@
# tests
def test_defaultbug(self):
- schema = self.load_schema('zope.xml')
+ schema = self.load_schema('zconfig:zope.xml')
conf = self.load_config(schema, 'empty.conf')
def test_load_populated(self):
- schema = self.load_schema('zope.xml')
+ schema = self.load_schema('zconfig:zope.xml')
conf = self.load_config(schema, 'zope-allpopulated.conf')
self.assertEqual(conf.zope_home, '.')
self.assertEqual(conf.instance_home, '.')