[Checkins] SVN: zope.app.pagetemplate/trunk/ Restored ``zope.app.pagetemplate.engine`` module.
Tres Seaver
tseaver at palladion.com
Wed May 27 12:54:01 EDT 2009
Log message for revision 100478:
Restored ``zope.app.pagetemplate.engine`` module.
o Module uses BBB imports from ``zope.pagetemplate.engine``.
Changed:
U zope.app.pagetemplate/trunk/CHANGES.txt
A zope.app.pagetemplate/trunk/src/zope/app/pagetemplate/engine.py
A zope.app.pagetemplate/trunk/src/zope/app/pagetemplate/tests/test_engine.py
-=-
Modified: zope.app.pagetemplate/trunk/CHANGES.txt
===================================================================
--- zope.app.pagetemplate/trunk/CHANGES.txt 2009-05-27 16:16:23 UTC (rev 100477)
+++ zope.app.pagetemplate/trunk/CHANGES.txt 2009-05-27 16:54:01 UTC (rev 100478)
@@ -5,7 +5,8 @@
3.7.1 (unreleased)
------------------
-- TBD
+- Restored ``zope.app.pagetemplate.engine`` module, using BBB imports from
+ ``zope.pagetemplate.engine``.
3.7.0 (2009-05-25)
------------------
Added: zope.app.pagetemplate/trunk/src/zope/app/pagetemplate/engine.py
===================================================================
--- zope.app.pagetemplate/trunk/src/zope/app/pagetemplate/engine.py (rev 0)
+++ zope.app.pagetemplate/trunk/src/zope/app/pagetemplate/engine.py 2009-05-27 16:54:01 UTC (rev 100478)
@@ -0,0 +1,34 @@
+##############################################################################
+#
+# Copyright (c) 2009 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.
+#
+##############################################################################
+# BBB imports: do not remove
+
+from zope.pagetemplate.engine import InlineCodeError
+from zope.pagetemplate.engine import ZopeTraverser
+from zope.pagetemplate.engine import zopeTraverser
+from zope.pagetemplate.engine import trustedZopeTraverser
+from zope.pagetemplate.engine import ZopePathExpr
+from zope.pagetemplate.engine import TrustedZopePathExpr
+from zope.pagetemplate.engine import ZopePythonExpr
+from zope.pagetemplate.engine import ZopeContextBase
+from zope.pagetemplate.engine import ZopeContext
+from zope.pagetemplate.engine import TrustedZopeContext
+from zope.pagetemplate.engine import AdapterNamespaces
+from zope.pagetemplate.engine import ZopeBaseEngine
+from zope.pagetemplate.engine import ZopeEngine
+from zope.pagetemplate.engine import TrustedZopeEngine
+from zope.pagetemplate.engine import TraversableModuleImporter
+from zope.pagetemplate.engine import Engine
+from zope.pagetemplate.engine import TrustedEngine
+from zope.pagetemplate.engine import AppPT
+from zope.pagetemplate.engine import TrustedAppPT
Added: zope.app.pagetemplate/trunk/src/zope/app/pagetemplate/tests/test_engine.py
===================================================================
--- zope.app.pagetemplate/trunk/src/zope/app/pagetemplate/tests/test_engine.py (rev 0)
+++ zope.app.pagetemplate/trunk/src/zope/app/pagetemplate/tests/test_engine.py 2009-05-27 16:54:01 UTC (rev 100478)
@@ -0,0 +1,27 @@
+import unittest
+
+class BBBTests(unittest.TestCase):
+
+ def test_BBB_imports(self):
+ from zope.app.pagetemplate.engine import InlineCodeError
+ from zope.app.pagetemplate.engine import ZopeTraverser
+ from zope.app.pagetemplate.engine import zopeTraverser
+ from zope.app.pagetemplate.engine import trustedZopeTraverser
+ from zope.app.pagetemplate.engine import ZopePathExpr
+ from zope.app.pagetemplate.engine import TrustedZopePathExpr
+ from zope.app.pagetemplate.engine import ZopePythonExpr
+ from zope.app.pagetemplate.engine import ZopeContextBase
+ from zope.app.pagetemplate.engine import ZopeContext
+ from zope.app.pagetemplate.engine import TrustedZopeContext
+ from zope.app.pagetemplate.engine import AdapterNamespaces
+ from zope.app.pagetemplate.engine import ZopeBaseEngine
+ from zope.app.pagetemplate.engine import ZopeEngine
+ from zope.app.pagetemplate.engine import TrustedZopeEngine
+ from zope.app.pagetemplate.engine import TraversableModuleImporter
+ from zope.app.pagetemplate.engine import Engine
+ from zope.app.pagetemplate.engine import TrustedEngine
+ from zope.app.pagetemplate.engine import AppPT
+ from zope.app.pagetemplate.engine import TrustedAppPT
+
+def test_suite():
+ return unittest.makeSuite(BBBTests)
More information about the Checkins
mailing list