Back to index

plone3  3.1.7
base.py
Go to the documentation of this file.
00001 
00002 from Products.GenericSetup.testing import BodyAdapterTestCase
00003 from Products.GenericSetup.testing import NodeAdapterTestCase
00004 from Products.PloneTestCase import layer
00005 from Products.PloneTestCase import setup
00006 
00007 
00008 # Disable PlacelessSetup as PTC does not like it
00009 
00010 class BodyAdapterTestCase(BodyAdapterTestCase):
00011 
00012     if setup.USELAYER:
00013         layer = layer.ZCML
00014 
00015     def setUp(self):
00016         pass
00017 
00018     def tearDown(self):
00019         pass
00020 
00021 
00022 class NodeAdapterTestCase(NodeAdapterTestCase):
00023 
00024     if setup.USELAYER:
00025         layer = layer.ZCML
00026 
00027     def setUp(self):
00028         pass
00029 
00030     def tearDown(self):
00031         pass
00032