Back to index

plone3  3.1.7
Functions
kss.core.tests.test_kssview Namespace Reference

Functions

def setUpAjaxView
def tearDownAjaxView
def test_suite

Function Documentation

Definition at line 35 of file test_kssview.py.

00035 
00036 def setUpAjaxView(test=None):
00037     setHooks()
00038     zope.component.provideAdapter(CommandInspectorView,
00039                                   adapts=(IKSSCommands, IBrowserRequest))
00040     registerPlugin(Action, IAction, 'replaceInnerHTML', None,
00041                    'selector', 'html', [], None)
00042     zope.component.provideAdapter(KSSCoreCommands,
00043                                   adapts=(IKSSView,),
00044                                   provides=IKSSCoreCommands)
00045     registerPlugin(CommandSet, ICommandSet, 'core', IKSSCoreCommands)

Here is the call graph for this function:

Definition at line 46 of file test_kssview.py.

00046 
00047 def tearDownAjaxView(test=None):
00048     cleanup.cleanUp()

Definition at line 49 of file test_kssview.py.

00049 
00050 def test_suite():
00051     return unittest.TestSuite([
00052         doctest.DocTestSuite('kss.core.kssview'),
00053         doctest.DocFileSuite('kssview.txt',
00054                              package='kss.core',
00055                              setUp=setUpAjaxView,
00056                              tearDown=tearDownAjaxView),
00057         ])