File: base.py

package info (click to toggle)
zope-cmfplone 2.5.1-4etch3
  • links: PTS
  • area: main
  • in suites: etch
  • size: 7,752 kB
  • ctags: 5,237
  • sloc: python: 28,264; xml: 3,723; php: 129; makefile: 99; sh: 2
file content (31 lines) | stat: -rw-r--r-- 617 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

from Products.GenericSetup.testing import BodyAdapterTestCase
from Products.GenericSetup.testing import NodeAdapterTestCase
from Products.PloneTestCase.layer import ZCMLLayer
import Products.PloneTestCase.setup as setup

# Disable PlacelessSetup as PTC does not like it

class BodyAdapterTestCase(BodyAdapterTestCase):

    if setup.USELAYER:
        layer = ZCMLLayer

    def setUp(self):
        pass

    def tearDown(self):
        pass


class NodeAdapterTestCase(NodeAdapterTestCase):

    if setup.USELAYER:
        layer = ZCMLLayer

    def setUp(self):
        pass

    def tearDown(self):
        pass