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

Source Code for Module icsemantic.core.tests.test_interfaces

 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 TestInterfaces(base.icSemanticTestCase):
16 """ 17 """
18
19 -class FunctionalTestInterfaces(base.icSemanticFunctionalTestCase):
20 """ 21 """
22
23 -def test_suite():
24 return unittest.TestSuite([ 25 26 # Unit tests 27 ztc.ZopeDocTestSuite( 28 module=PACKAGENAME + '.interfaces', 29 test_class=TestInterfaces), 30 31 # Integration tests that use PloneTestCase 32 ztc.FunctionalDocFileSuite( 33 'test_interfaces.txt', 34 package=PACKAGENAME + '.tests', 35 test_class=FunctionalTestInterfaces), 36 37 ])
38 39 if __name__ == '__main__': 40 unittest.main(defaultTest='test_suite') 41