[Zope-Checkins] CVS: Zope3/lib/python/Zope/PageTemplate/tests - __init__.py:1.1.2.2 batch.py:1.1.2.3 framework.py:1.1.2.3 run.py:1.1.2.2 testExpressions.py:1.1.2.2 testTALES.py:1.1.2.2 test_binding.py:1.1.2.3 util.py:1.1.2.3
Tres Seaver
tseaver@zope.com
Tue, 20 Nov 2001 10:06:00 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/PageTemplate/tests
In directory cvs.zope.org:/tmp/cvs-serv29829/lib/python/Zope/PageTemplate/tests
Modified Files:
Tag: Zope-3x-branch
__init__.py batch.py framework.py run.py testExpressions.py
testTALES.py test_binding.py util.py
Log Message:
- Yeehaw!
=== Zope3/lib/python/Zope/PageTemplate/tests/__init__.py 1.1.2.1 => 1.1.2.2 ===
+# Version 1.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.
+
def all():
import testTALES
return testTALES.test_suite()
=== Zope3/lib/python/Zope/PageTemplate/tests/batch.py 1.1.2.2 => 1.1.2.3 ===
# FOR A PARTICULAR PURPOSE.
-######################################################################
# Sequence batching support
__allow_access_to_unprotected_subobjects__={'batch': 1}
=== Zope3/lib/python/Zope/PageTemplate/tests/framework.py 1.1.2.2 => 1.1.2.3 ===
# 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:
-#
-# if __name__ == '__main__':
-# main()
-
import string
scriptdir = sys.path[0]
=== Zope3/lib/python/Zope/PageTemplate/tests/run.py 1.1.2.1 => 1.1.2.2 ===
+
+# This software is subject to the provisions of the Zope Public License,
+# Version 1.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.
+
"""Run all tests."""
+
import os, sys
-execfile(os.path.join(sys.path[0], 'framework.py'))
+execfile(os.path.join(sys.path[0], 'framework.py')) # WAAAA!
def test_suite():
suite = unittest.TestSuite()
=== Zope3/lib/python/Zope/PageTemplate/tests/testExpressions.py 1.1.2.1 => 1.1.2.2 ===
+# Version 1.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.
+
import os, sys, unittest
from Zope.PageTemplate import Expressions
=== Zope3/lib/python/Zope/PageTemplate/tests/testTALES.py 1.1.2.1 => 1.1.2.2 ===
+# Version 1.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.
+
import os, sys, unittest
from Zope.PageTemplate import TALES
=== Zope3/lib/python/Zope/PageTemplate/tests/test_binding.py 1.1.2.2 => 1.1.2.3 ===
+# Version 1.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.
+
import unittest
from Zope.PageTemplate.tests.testpackage.content import Content, PTComponent
=== Zope3/lib/python/Zope/PageTemplate/tests/util.py 1.1.2.2 => 1.1.2.3 ===
# FOR A PARTICULAR PURPOSE.
-######################################################################
-# Utility facilities to aid setting things up.
-
import os, sys, string, re
-
class Bruce:
__allow_access_to_unprotected_subobjects__=1