[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/ZPTPage/tests - testZPTPage.py:1.1.2.1
Fred L. Drake, Jr.
fdrake@acm.org
Mon, 4 Feb 2002 11:28:46 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/ZPTPage/tests
In directory cvs.zope.org:/tmp/cvs-serv14798
Added Files:
Tag: Zope-3x-branch
testZPTPage.py
Log Message:
Make sure we run at least basic tests of the ZPTPage class.
=== Added File Zope3/lib/python/Zope/App/OFS/ZPTPage/tests/testZPTPage.py ===
##############################################################################
#
# Copyright (c) 2001 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
#
##############################################################################
"""Basic tests for Page Templates used in content-space."""
import unittest
from Zope.App.OFS.ZPTPage.ZPTPage import ZPTPage
from Zope.PageTemplate.tests.testBasicTemplate import BasicTemplateTests
class ZPTPageTests(BasicTemplateTests):
def setUp(self):
self.t = ZPTPage()
def test_suite():
return unittest.makeSuite(ZPTPageTests, 'check')
if __name__=='__main__':
unittest.TextTestRunner().run(test_suite())