Package platecom :: Package utils :: Package tests :: Module test_install
[hide private]
[frames] | no frames]

Source Code for Module icsemantic.core.tests.test_install

 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.utils.config import * 
13  import base 
14   
15 -class TestInstall(base.icSemanticTestCase):
16 """ 17 """
18
19 -class FunctionalTestInstall(base.icSemanticFunctionalTestCase):
20 """ 21 """
22
23 -def test_suite():
24 return unittest.TestSuite([ 25 26 # Unit tests 27 ztc.ZopeDocTestSuite( 28 module=PACKAGENAME + '.Extensions.install', 29 test_class=TestInstall), 30 ztc.ZopeDocTestSuite( 31 module=PACKAGENAME + '.setuphandlers', 32 test_class=TestInstall), 33 34 # Integration tests that use PloneTestCase 35 ztc.FunctionalDocFileSuite( 36 'test_install.txt', 37 package=PACKAGENAME + '.tests', 38 test_class=FunctionalTestInstall), 39 40 ])
41 42 if __name__ == '__main__': 43 unittest.main(defaultTest='test_suite') 44