[Zodb-checkins] CVS: Packages/ZConfig/tests - test_schema.py:1.10
Fred L. Drake, Jr.
fred@zope.com
Mon, 20 Jan 2003 18:10:50 -0500
Update of /cvs-repository/Packages/ZConfig/tests
In directory cvs.zope.org:/tmp/cvs-serv19107/tests
Modified Files:
test_schema.py
Log Message:
Fix problem with datatype case sensitivity, reported by Guido.
This makes the registry itself smarter, which is probably the best place for
it; apps that replace the registry can decide for themselves how "smart"
the lookup should be.
=== Packages/ZConfig/tests/test_schema.py 1.9 => 1.10 ===
--- Packages/ZConfig/tests/test_schema.py:1.9 Wed Jan 15 10:25:16 2003
+++ Packages/ZConfig/tests/test_schema.py Mon Jan 20 18:10:45 2003
@@ -657,6 +657,9 @@
self.assertRaises(ZConfig.ConfigurationError,
self.load_config_text, schema, "abc. 127.0.0.1")
+ def test_datatype_casesensitivity(self):
+ self.load_schema_text("<schema datatype='NULL'/>")
+
def test_suite():
return unittest.makeSuite(SchemaTestCase)