Back to index

plone3  3.1.7
test_functional.py
Go to the documentation of this file.
00001 # -*- coding: UTF-8 -*-
00002 """
00003 """
00004 
00005 from Testing import ZopeTestCase
00006 from Products.ATContentTypes.tests.atcttestcase import ATCTFunctionalSiteTestCase 
00007 
00008 FILES = ['webdav.txt', 'http_access.txt', 'portaltype_criterion.txt']
00009 
00010 def test_suite():
00011     import unittest
00012     suite = unittest.TestSuite()
00013     from Testing.ZopeTestCase import FunctionalDocFileSuite as FileSuite
00014     for file in FILES:
00015         suite.addTest(FileSuite(file, package="Products.ATContentTypes.tests",
00016                                 test_class=ATCTFunctionalSiteTestCase)
00017                      )
00018     return suite