[Zodb-checkins] CVS: StandaloneZODB/zdaemon/tests - testDaemon.py:1.2
Jeremy Hylton
jeremy@zope.com
Thu, 25 Apr 2002 15:48:31 -0400
Update of /cvs-repository/StandaloneZODB/zdaemon/tests
In directory cvs.zope.org:/tmp/cvs-serv12673
Modified Files:
testDaemon.py
Log Message:
Don't run any zdaemon tests unless the platform has setsid().
We believe that zdaemon is only intended for POSIX platforms. If
someone thinks otherwise, fix the tests!
=== StandaloneZODB/zdaemon/tests/testDaemon.py 1.1 => 1.2 ===
def test_suite():
- return unittest.makeSuite(DaemonTest)
+ if hasattr(os, 'setsid'):
+ return unittest.makeSuite(DaemonTest)
+ else:
+ return None
+