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

Source Code for Module icsemantic.core.tests.test_property_fields

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