[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Security/tests - __init__.py:1.1.2.2 testPermissionRegistry.py:1.1.2.3
Tres Seaver
tseaver@zope.com
Tue, 20 Nov 2001 10:05:57 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/Security/tests
In directory cvs.zope.org:/tmp/cvs-serv29829/lib/python/Zope/App/Security/tests
Modified Files:
Tag: Zope-3x-branch
__init__.py testPermissionRegistry.py
Log Message:
- Yeehaw!
=== Zope3/lib/python/Zope/App/Security/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.
+
+""" Zope.App.Security unit tests """
=== Zope3/lib/python/Zope/App/Security/tests/testPermissionRegistry.py 1.1.2.2 => 1.1.2.3 ===
# FOR A PARTICULAR PURPOSE.
+""" Test handler for 'definePermission' directive """
+
import unittest, sys
-class DefineTest(unittest.TestCase):
+class Test(unittest.TestCase):
def tearDown(self):
from Zope.App.Security.PermissionRegistry import _clearPermissions
@@ -25,7 +27,7 @@
def test_suite():
loader=unittest.TestLoader()
- return loader.loadTestsFromTestCase(DefineTest)
+ return loader.loadTestsFromTestCase(Test)
if __name__=='__main__':
unittest.TextTestRunner().run(test_suite())