Package platecom :: Package langview :: Package tests :: Module test_views
[hide private]
[frames] | no frames]

Source Code for Module icsemantic.langfallback.tests.test_views

 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   
15 -class TestViews(base.icSemanticTestCase):
16 """ 17 """
18 - def test_writer(self):
19 """ 20 """
21 # from ipdb import set_trace; set_trace() 22
23 -def test_suite():
24 return unittest.TestSuite([ 25 26 # Unit tests 27 unittest.makeSuite(TestViews), 28 29 ztc.ZopeDocTestSuite( 30 module=PACKAGENAME + '.browser.views', 31 test_class=TestViews), 32 33 # Integration tests that use PloneTestCase 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