Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Static Public Attributes
kss.core.tests.base.KssViewFunctionalTestCase Class Reference
Inheritance diagram for kss.core.tests.base.KssViewFunctionalTestCase:
Inheritance graph
Collaboration diagram for kss.core.tests.base.KssViewFunctionalTestCase:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def loadCoreConfig
def createView
def setDebugRequest

Public Attributes


Static Public Attributes

 layer = KSSLayer

Detailed Description

Definition at line 141 of file

Constructor & Destructor Documentation

def kss.core.tests.base.KssViewFunctionalTestCase.__init__ (   self,

Definition at line 142 of file

00143     def __init__(self, *args, **kw):
00144         message = "'KssViewFunctionalTestCase' is deprecated," \
00145             "use 'KSSViewFunctionalTestCase'- KSS uppercase instead."
00146         warnings.warn(message, DeprecationWarning, 2)
00147         KSSViewFunctionalTestCase.__init__(self, *args, **kw)

Here is the caller graph for this function:

Member Function Documentation

Definition at line 108 of file

00109     def createView(self):
00110         "Set up a fake view (with no content)"
00111         self.view = self.folder.restrictedTraverse('testMethod')
00112         return self.view

Here is the caller graph for this function:

def kss.core.tests.base.KSSViewTestCaseMixin.loadCoreConfig (   self,
  kss_core = True 
) [inherited]

Definition at line 102 of file

00103     def loadCoreConfig(self, kss_core=True):
00104         warnings.warn(
00105             "KSS tests are now using layers.  Please do not use "
00106             "loadCoreConfig anymore.",
00107             DeprecationWarning)

Definition at line 113 of file

00114     def setDebugRequest(self):
00115         'commands will be rendered as test friendly data structures'
00116         request = self.folder.REQUEST
00117         interface.directlyProvides(
00118             request,
00119             interface.directlyProvidedBy(request) + IDebugRequest)

Here is the caller graph for this function:

Member Data Documentation

Definition at line 121 of file

The documentation for this class was generated from the following file: