[Zope-Checkins] CVS: Zope/lib/python/Zope/Startup/tests - testStarter.py:1.17

Fred L. Drake, Jr. fred at zope.com
Fri Apr 16 11:35:24 EDT 2004


Update of /cvs-repository/Zope/lib/python/Zope/Startup/tests
In directory cvs.zope.org:/tmp/cvs-serv7118

Modified Files:
	testStarter.py 
Log Message:
only run tests of Unix-specific behavior on Unix


=== Zope/lib/python/Zope/Startup/tests/testStarter.py 1.16 => 1.17 ===
--- Zope/lib/python/Zope/Startup/tests/testStarter.py:1.16	Tue Apr 13 16:57:08 2004
+++ Zope/lib/python/Zope/Startup/tests/testStarter.py	Fri Apr 16 11:35:23 2004
@@ -103,7 +103,8 @@
             locale.setlocale(locale.LC_ALL, '')
 
     def testSetupStartupHandler(self):
-        import zLOG
+        if sys.platform[:3].lower() == "win":
+            return
         conf = self.load_config_text("""
             instancehome <<INSTANCE_HOME>>
             debug-mode on
@@ -242,7 +243,8 @@
             os.getuid = _old_getuid
 
     def testSetupConfiguredLoggers(self):
-        import zLOG
+        if sys.platform[:3].lower() == "win":
+            return
         conf = self.load_config_text("""
             instancehome <<INSTANCE_HOME>>
             debug-mode off




More information about the Zope-Checkins mailing list