[Zope3-checkins] CVS: Packages/ZConfig/tests - test_schema.py:1.1.2.22
Fred L. Drake, Jr.
fred@zope.com
Mon, 16 Dec 2002 13:23:42 -0500
Update of /cvs-repository/Packages/ZConfig/tests
In directory cvs.zope.org:/tmp/cvs-serv18358
Modified Files:
Tag: zconfig-schema-devel-branch
test_schema.py
Log Message:
Rely on the prefix support in more places.
=== Packages/ZConfig/tests/test_schema.py 1.1.2.21 => 1.1.2.22 ===
--- Packages/ZConfig/tests/test_schema.py:1.1.2.21 Fri Dec 13 16:56:34 2002
+++ Packages/ZConfig/tests/test_schema.py Mon Dec 16 13:23:42 2002
@@ -101,7 +101,7 @@
def test_app_sectiontype(self):
schema = self.load_schema_text(
- "<schema datatype='%s.appsection' prefix='%s'>"
+ "<schema datatype='.appsection' prefix='%s'>"
" <sectiontype type='foo' datatype='.MySection'>"
" <key name='sample' datatype='integer'>"
" <default>345</default>"
@@ -109,7 +109,7 @@
" </sectiontype>"
" <section name='sect' type='foo' />"
"</schema>"
- % (__name__, __name__))
+ % __name__)
conf = self.load_config_text(schema,
"<foo sect>\n"
" sample 42\n"