1 import unittest
2
3 from zope.testing import doctestunit
4 from zope.component import testing
5 from Testing import ZopeTestCase as ztc
6 from Products.PloneTestCase import PloneTestCase as ptc
7
8 from Products.Five import zcml
9 from Products.Five import fiveconfigure
10 from Products.PloneTestCase.layer import PloneSite
11
12 from platecom.langview.config import *
13 import base
14
21
22
24 return unittest.TestSuite([
25
26
27 unittest.makeSuite(TestViews),
28
29 ztc.ZopeDocTestSuite(
30 module=PACKAGENAME + '.browser.views',
31 test_class=TestViews),
32
33
34 ztc.FunctionalDocFileSuite(
35 'test_views_concepts.txt',
36 package=PACKAGENAME + '.tests',
37 test_class=base.icSemanticFunctionalTestCase),
38 ztc.FunctionalDocFileSuite(
39 'test_views_custom_widgets.txt',
40 package=PACKAGENAME + '.tests',
41 test_class=base.icSemanticFunctionalTestCase),
42 ztc.FunctionalDocFileSuite(
43 'test_views_set_language.txt',
44 package=PACKAGENAME + '.tests',
45 test_class=base.icSemanticFunctionalTestCase),
46 ztc.FunctionalDocFileSuite(
47 'test_views.txt',
48 package=PACKAGENAME + '.tests',
49 test_class=base.icSemanticFunctionalTestCase),
50
51 ])
52
53 if __name__ == '__main__':
54 unittest.main(defaultTest='test_suite')
55