[Zodb-checkins] SVN: zdaemon/trunk/test.py Let the buildout generate a test script.

Jim Fulton jim at zope.com
Sun Nov 5 12:43:31 EST 2006


Log message for revision 71079:
  Let the buildout generate a test script.
  

Changed:
  D   zdaemon/trunk/test.py

-=-
Deleted: zdaemon/trunk/test.py
===================================================================
--- zdaemon/trunk/test.py	2006-11-05 17:43:26 UTC (rev 71078)
+++ zdaemon/trunk/test.py	2006-11-05 17:43:30 UTC (rev 71079)
@@ -1,34 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2004 Zope Corporation and Contributors.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE.
-#
-##############################################################################
-"""Test script
-
-For help, use -h
-
-$Id$
-"""
-
-import os, sys
-
-src = os.path.join(os.path.split(sys.argv[0])[0], 'src')
-sys.path.insert(0, src) # put at beginning to avoid one in site_packages
-
-from zope.testing import testrunner
-
-defaults = [
-    '--path', src,
-    '--tests-pattern', '^tests$',
-    '--package', 'zdaemon'
-    ]
-
-sys.exit(testrunner.run(defaults))



More information about the Zodb-checkins mailing list