Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Static Public Attributes
kss.core.tests.base.AzaxViewTestCase Class Reference
Inheritance diagram for kss.core.tests.base.AzaxViewTestCase:
Inheritance graph
Collaboration diagram for kss.core.tests.base.AzaxViewTestCase:
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 127 of file

Constructor & Destructor Documentation

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

Definition at line 128 of file

00129     def __init__(self, *args, **kw):
00130         message = "'AzaxViewTestCase' is deprecated," \
00131             "use 'KSSViewTestCase'- KSS uppercase instead."
00132         warnings.warn(message, DeprecationWarning, 2)
00133         KSSViewTestCase.__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: