[Zodb-checkins] CVS: ZODB3/ZConfig/tests - test_schema.py:1.22

Tim Peters tim.one at comcast.net
Mon Dec 29 17:41:24 EST 2003


Update of /cvs-repository/ZODB3/ZConfig/tests
In directory cvs.zope.org:/tmp/cvs-serv2051/ZConfig/tests

Modified Files:
	test_schema.py 
Log Message:
Whitespace normalization.


=== ZODB3/ZConfig/tests/test_schema.py 1.21 => 1.22 ===
--- ZODB3/ZConfig/tests/test_schema.py:1.21	Sun Dec 28 21:54:44 2003
+++ ZODB3/ZConfig/tests/test_schema.py	Mon Dec 29 17:40:47 2003
@@ -741,9 +741,9 @@
         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):
         self.load_schema_text("""\
@@ -772,16 +772,16 @@
            """ % (CONFIG_BASE, CONFIG_BASE, __name__))
 
     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 Zodb-checkins mailing list