[Zope3-checkins] CVS: ZODB3/ZConfig/tests - test_schema.py:1.18.22.2
Tim Peters
tim.one at comcast.net
Wed Jun 9 14:42:36 EDT 2004
Update of /cvs-repository/ZODB3/ZConfig/tests
In directory cvs.zope.org:/tmp/cvs-serv20606/ZConfig/tests
Modified Files:
Tag: Zope-2_7-branch
test_schema.py
Log Message:
Whitespace normalization.
=== ZODB3/ZConfig/tests/test_schema.py 1.18.22.1 => 1.18.22.2 ===
--- ZODB3/ZConfig/tests/test_schema.py:1.18.22.1 Tue Oct 7 15:36:24 2003
+++ ZODB3/ZConfig/tests/test_schema.py Wed Jun 9 14:42:05 2004
@@ -721,10 +721,10 @@
self._verifySimpleConf(self.load_config(schema, "simple.conf"))
def test_extends_fragment_failure(self):
- self.assertRaises(ZConfig.SchemaError,
- self.load_schema_text, """\
- <schema extends="%s/library.xml#foo" />
- """ % CONFIG_BASE)
+ self.assertRaises(ZConfig.SchemaError,
+ self.load_schema_text, """\
+ <schema extends="%s/library.xml#foo" />
+ """ % CONFIG_BASE)
def test_multi_extends_implicit_OK(self):
schema = self.load_schema_text("""\
@@ -755,16 +755,16 @@
def test_multi_extends_datatype_conflict(self):
- self.assertRaises(ZConfig.SchemaError,
- self.load_schema_text, """\
- <schema extends="%s/base-datatype1.xml %s/base-datatype2.xml"/>
- """ % (CONFIG_BASE,CONFIG_BASE))
+ self.assertRaises(ZConfig.SchemaError,
+ self.load_schema_text, """\
+ <schema extends="%s/base-datatype1.xml %s/base-datatype2.xml"/>
+ """ % (CONFIG_BASE,CONFIG_BASE))
def test_multi_extends_keytype_conflict(self):
- self.assertRaises(ZConfig.SchemaError,
- self.load_schema_text, """\
- <schema extends="%s/base-keytype1.xml %s/base-keytype2.xml"/>
- """ % (CONFIG_BASE,CONFIG_BASE))
+ self.assertRaises(ZConfig.SchemaError,
+ self.load_schema_text, """\
+ <schema extends="%s/base-keytype1.xml %s/base-keytype2.xml"/>
+ """ % (CONFIG_BASE,CONFIG_BASE))
def test_suite():
return unittest.makeSuite(SchemaTestCase)
More information about the Zope3-Checkins
mailing list