Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
kss.core.tests.base.KSSViewTestCaseMixin Class Reference
Inheritance diagram for kss.core.tests.base.KSSViewTestCaseMixin:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def loadCoreConfig
def createView
def setDebugRequest

Public Attributes

 view

Detailed Description

Definition at line 100 of file base.py.


Member Function Documentation

Definition at line 108 of file base.py.

00108 
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 
)

Definition at line 102 of file base.py.

00102 
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 base.py.

00113 
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


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