[ZPT] CVS: Zope/lib/python/Products/PageTemplates/tests - testHTMLTests.py:1.14
Shane Hathaway
shane@cvs.zope.org
Tue, 3 Sep 2002 09:56:00 -0400
Update of /cvs-repository/Zope/lib/python/Products/PageTemplates/tests
In directory cvs.zope.org:/tmp/cvs-serv2822
Modified Files:
testHTMLTests.py
Log Message:
Fixed startup so this test module can run standalone
=== Zope/lib/python/Products/PageTemplates/tests/testHTMLTests.py 1.13 => 1.14 ===
--- Zope/lib/python/Products/PageTemplates/tests/testHTMLTests.py:1.13 Wed Aug 14 18:17:24 2002
+++ Zope/lib/python/Products/PageTemplates/tests/testHTMLTests.py Tue Sep 3 09:55:59 2002
@@ -15,7 +15,8 @@
from Products.PageTemplates.tests import util
from Products.PageTemplates.PageTemplate import PageTemplate
-from AccessControl import SecurityManager
+import ZODB
+from AccessControl import User, SecurityManager
from AccessControl.SecurityManagement import noSecurityManager
from Acquisition import Implicit
@@ -129,4 +130,4 @@
return unittest.makeSuite(HTMLTests, 'check')
if __name__=='__main__':
- main()
+ unittest.main(defaultTest='test_suite')