[Zope-Checkins] CVS: Zope3/lib/python/Zope/RestrictedPython/tests - __init__.py:1.1.2.2 restricted_module.py:1.1.2.2 security_in_syntax.py:1.1.2.2 testRestrictedExpressionEngine.py:1.1.2.2 testRestrictions.py:1.1.2.2
Stephan Richter
srichter@cbu.edu
Mon, 1 Apr 2002 21:21:07 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/RestrictedPython/tests
In directory cvs.zope.org:/tmp/cvs-serv10085/Zope/RestrictedPython/tests
Modified Files:
Tag: Zope-3x-branch
__init__.py restricted_module.py security_in_syntax.py
testRestrictedExpressionEngine.py testRestrictions.py
Log Message:
Issue 25: Resolved by janko & srichter
This checkin fixes all the license headers of all the files that needed
fixing it. :) This was made possible by Janko Hauser's script, which is now
available in the ZopeRoot/utilities directory.
=== Zope3/lib/python/Zope/RestrictedPython/tests/__init__.py 1.1.2.1 => 1.1.2.2 ===
+#
+# 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.2 ===
+#
+# 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.2 ===
+#
+# 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.2 ===
# 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.2 ===
+#
+# 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