Log message for revision 68598:
  removed framework dependency
  

Changed:
  D   Zope/trunk/lib/python/AccessControl/tests/framework.py
  U   Zope/trunk/lib/python/AccessControl/tests/testChownRecursive.py

-=-
Deleted: Zope/trunk/lib/python/AccessControl/tests/framework.py
===================================================================
--- Zope/trunk/lib/python/AccessControl/tests/framework.py      2006-06-12 
11:02:15 UTC (rev 68597)
+++ Zope/trunk/lib/python/AccessControl/tests/framework.py      2006-06-12 
13:33:39 UTC (rev 68598)
@@ -1,44 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2002 Zope Corporation and Contributors. All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.1 (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
-#
-##############################################################################
-
-######################################################################
-# Set up unit testing framework
-#
-# The following code should be at the top of every test module:
-#
-# import os, sys
-# execfile(os.path.join(sys.path[0], 'framework.py'))
-#
-# ...and the following at the bottom:
-#
-# framework()
-
-
-# Find the Testing package
-if not sys.modules.has_key('Testing'):
-    p0 = sys.path[0]
-    if p0 and __name__ == '__main__':
-        os.chdir(p0)
-        p0 = ''
-    p = d = os.path.abspath(os.curdir)
-    while d:
-        if os.path.isdir(os.path.join(p, 'Testing')):
-            sys.path[:1] = [p0, os.pardir, p]
-            break
-        p, d = os.path.split(p)
-    else:
-        print 'Unable to locate Testing package.'
-        sys.exit(1)
-
-import Testing, unittest
-execfile(os.path.join(os.path.split(Testing.__file__)[0], 'common.py'))

Modified: Zope/trunk/lib/python/AccessControl/tests/testChownRecursive.py
===================================================================
--- Zope/trunk/lib/python/AccessControl/tests/testChownRecursive.py     
2006-06-12 11:02:15 UTC (rev 68597)
+++ Zope/trunk/lib/python/AccessControl/tests/testChownRecursive.py     
2006-06-12 13:33:39 UTC (rev 68598)
@@ -17,12 +17,9 @@
 """
 
 import os, sys
-if __name__ == '__main__':
-    execfile(os.path.join(sys.path[0], 'framework.py'))
 
 from Testing import ZopeTestCase
 
-#ZopeTestCase.installProduct('SomeProduct')
 
 
 class TestRecursiveChangeOwnership(ZopeTestCase.ZopeTestCase):

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to