[Checkins] SVN: zope.app.pagetemplate/trunk/src/zope/app/pagetemplate/test Move PageTemplateLayer into test_nested as the only place it is used

Hanno Schlichting hannosch at hannosch.eu
Wed Dec 16 15:54:07 EST 2009


Log message for revision 106659:
  Move PageTemplateLayer into test_nested as the only place it is used
  

Changed:
  D   zope.app.pagetemplate/trunk/src/zope/app/pagetemplate/testing.py
  U   zope.app.pagetemplate/trunk/src/zope/app/pagetemplate/tests/test_nested.py

-=-
Deleted: zope.app.pagetemplate/trunk/src/zope/app/pagetemplate/testing.py
===================================================================
--- zope.app.pagetemplate/trunk/src/zope/app/pagetemplate/testing.py	2009-12-16 20:51:45 UTC (rev 106658)
+++ zope.app.pagetemplate/trunk/src/zope/app/pagetemplate/testing.py	2009-12-16 20:54:06 UTC (rev 106659)
@@ -1,26 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2007 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.
-#
-##############################################################################
-"""zope.app.pagetemplate common test related classes/functions/objects.
-
-$Id$
-"""
-
-__docformat__ = "reStructuredText"
-
-import os
-from zope.app.testing.functional import ZCMLLayer
-
-PageTemplateLayer = ZCMLLayer(
-    os.path.join(os.path.split(__file__)[0], 'ftesting.zcml'),
-    __name__, 'PageTemplateLayer', allow_teardown=True)

Modified: zope.app.pagetemplate/trunk/src/zope/app/pagetemplate/tests/test_nested.py
===================================================================
--- zope.app.pagetemplate/trunk/src/zope/app/pagetemplate/tests/test_nested.py	2009-12-16 20:51:45 UTC (rev 106658)
+++ zope.app.pagetemplate/trunk/src/zope/app/pagetemplate/tests/test_nested.py	2009-12-16 20:54:06 UTC (rev 106659)
@@ -2,8 +2,14 @@
 """
 __docformat__ = "reStructuredText"
 
+import os
+from zope.app.testing.functional import ZCMLLayer
+
+PageTemplateLayer = ZCMLLayer(
+    os.path.join(os.path.split(__file__)[0], 'ftesting.zcml'),
+    __name__, 'PageTemplateLayer', allow_teardown=True)
+
 import zope.app.testing.functional
-from zope.app.pagetemplate.testing import PageTemplateLayer
 
 def test_suite():
     suite = zope.app.testing.functional.FunctionalDocFileSuite(



More information about the checkins mailing list