[Zope3-checkins] CVS: Zope3/src/ZConfig/tests - test_loader.py:1.13

Jeremy Hylton jeremy@zope.com
Mon, 27 Jan 2003 15:59:21 -0500


Update of /cvs-repository/Zope3/src/ZConfig/tests
In directory cvs.zope.org:/tmp/cvs-serv13286

Modified Files:
	test_loader.py 
Log Message:
Correct spelling.


=== Zope3/src/ZConfig/tests/test_loader.py 1.12 => 1.13 ===
--- Zope3/src/ZConfig/tests/test_loader.py:1.12	Mon Jan 27 15:55:58 2003
+++ Zope3/src/ZConfig/tests/test_loader.py	Mon Jan 27 15:59:18 2003
@@ -131,7 +131,7 @@
             ZConfig.url.urldefrag("file:/abc/def#frag"),
             ("file:///abc/def", "frag"))
 
-class TestNonExistantResources(unittest.TestCase):
+class TestNonExistentResources(unittest.TestCase):
 
     # XXX Not sure if this is the best approach for these.  These
     # tests make sure that the error reported by ZConfig for missing
@@ -153,15 +153,15 @@
     def fake_urlopen(self, url):
         raise self.error()
 
-    def test_nonexistant_file_ioerror(self):
+    def test_nonexistent_file_ioerror(self):
         self.error = IOError
-        self.check_nonexistant_file()
+        self.check_nonexistent_file()
 
-    def test_nonexistant_file_oserror(self):
+    def test_nonexistent_file_oserror(self):
         self.error = OSError
-        self.check_nonexistant_file()
+        self.check_nonexistent_file()
 
-    def check_nonexistant_file(self):
+    def check_nonexistent_file(self):
         fn = tempfile.mktemp()
         schema = ZConfig.loadSchemaFile(StringIO("<schema/>"))
         self.assertRaises(ZConfig.ConfigurationError,
@@ -181,7 +181,7 @@
 
 def test_suite():
     suite = unittest.makeSuite(LoaderTestCase)
-    suite.addTest(unittest.makeSuite(TestNonExistantResources))
+    suite.addTest(unittest.makeSuite(TestNonExistentResources))
     return suite
 
 if __name__ == '__main__':