Commit bc8e8a4e authored by Hanno Schlichting's avatar Hanno Schlichting

Move testSecurity which only deals with DTML

parent 834429a0
...@@ -13,16 +13,12 @@ ...@@ -13,16 +13,12 @@
"""Document Template Tests """Document Template Tests
""" """
__rcs_id__='$Id$' import unittest
__version__='$Revision: 1.13 $'[11:-2]
import os, sys, unittest
import ZODB
from DocumentTemplate import HTML from DocumentTemplate import HTML
from DocumentTemplate.tests.testDTML import DTMLTests from DocumentTemplate.tests.testDTML import DTMLTests
from Products.PythonScripts.standard import DTML from Products.PythonScripts.standard import DTML
from AccessControl import User, Unauthorized from AccessControl import Unauthorized
from ExtensionClass import Base from ExtensionClass import Base
class UnownedDTML(DTML): class UnownedDTML(DTML):
...@@ -112,11 +108,5 @@ class SecurityTests (DTMLTests): ...@@ -112,11 +108,5 @@ class SecurityTests (DTMLTests):
def test_suite(): def test_suite():
suite = unittest.TestSuite() suite = unittest.TestSuite()
suite.addTest( unittest.makeSuite( SecurityTests ) ) suite.addTest(unittest.makeSuite(SecurityTests))
return suite return suite
def main():
unittest.TextTestRunner().run(test_suite())
if __name__ == '__main__':
main()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment