Back to index

plone3  3.1.7
tests.py
Go to the documentation of this file.
00001 ##############################################################################
00002 #
00003 # Copyright (c) 2006 Zope Corporation and Contributors. All Rights Reserved.
00004 #
00005 # This software is subject to the provisions of the Zope Public License,
00006 # Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
00007 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
00008 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
00009 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
00010 # FOR A PARTICULAR PURPOSE.
00011 #
00012 ##############################################################################
00013 """CMFDefault formlib tests.
00014 
00015 $Id: tests.py 71606 2006-12-19 18:22:49Z yuppie $
00016 """
00017 
00018 import unittest
00019 import Testing
00020 from zope.testing import doctest
00021 
00022 
00023 def test_suite():
00024     suite = unittest.TestSuite()
00025     suite.addTest(doctest.DocFileSuite('schema.txt',
00026                                     optionflags=doctest.NORMALIZE_WHITESPACE))
00027     suite.addTest(doctest.DocFileSuite('widgets.txt',
00028                                     optionflags=doctest.NORMALIZE_WHITESPACE))
00029     return suite
00030 
00031 if __name__ == '__main__':
00032     unittest.main(defaultTest='test_suite')