1############################################################################## 2# 3# Copyright (c) 2001, 2002 Zope Foundation and Contributors. 4# All Rights Reserved. 5# 6# This software is subject to the provisions of the Zope Public License, 7# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. 8# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED 9# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 10# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS 11# FOR A PARTICULAR PURPOSE 12# 13############################################################################## 14"""Default View Tests 15""" 16import unittest 17from doctest import DocTestSuite 18from zope.testing.cleanup import cleanUp 19 20def cleanUpDoc(args): 21 cleanUp() 22 23def test_suite(): 24 return DocTestSuite('zope.publisher.defaultview', 25 setUp=cleanUpDoc, tearDown=cleanUpDoc) 26 27if __name__ == '__main__': 28 unittest.main(defaultTest='test_suite') 29