[Zope-Checkins] CVS: Zope3/lib/python/Zope/RestrictedPython/tests - __init__.py:1.1.2.1.10.1 restricted_module.py:1.1.2.1.10.1 security_in_syntax.py:1.1.2.1.10.1 testRestrictedExpressionEngine.py:1.1.2.1.8.1 testRestrictions.py:1.1.2.1.10.1
Gary Poster
garyposter@earthlink.net
Tue, 2 Apr 2002 21:18:56 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/RestrictedPython/tests
In directory cvs.zope.org:/tmp/cvs-serv29027/RestrictedPython/tests
Modified Files:
Tag: gary-pre_create_views-branch
__init__.py restricted_module.py security_in_syntax.py
testRestrictedExpressionEngine.py testRestrictions.py
Log Message:
license changes thanks to license script. Trying a smaller chunk since the larger commits appear to be crashing the server <blush>
=== Zope3/lib/python/Zope/RestrictedPython/tests/__init__.py 1.1.2.1 => 1.1.2.1.10.1 ===
+#
+# Copyright (c) 2001, 2002 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.
+#
+##############################################################################
'''Python package.'''
=== Zope3/lib/python/Zope/RestrictedPython/tests/restricted_module.py 1.1.2.1 => 1.1.2.1.10.1 ===
+#
+# Copyright (c) 2001, 2002 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.
+#
+##############################################################################
from __future__ import nested_scopes
def print0():
=== Zope3/lib/python/Zope/RestrictedPython/tests/security_in_syntax.py 1.1.2.1 => 1.1.2.1.10.1 ===
+#
+# Copyright (c) 2001, 2002 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.
+#
+##############################################################################
# These are all supposed to raise a SyntaxError when using
# compile_restricted() but not when using compile().
=== Zope3/lib/python/Zope/RestrictedPython/tests/testRestrictedExpressionEngine.py 1.1.2.1 => 1.1.2.1.8.1 ===
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE
+# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""Tests of Zope.RestrictedPython.RestrictedExpressionEngine.
=== Zope3/lib/python/Zope/RestrictedPython/tests/testRestrictions.py 1.1.2.1 => 1.1.2.1.10.1 ===
+#
+# Copyright (c) 2001, 2002 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.
+#
+##############################################################################
import sys, os
import unittest