Back to index

plone3  3.1.7
Functions | Variables
plone.contentrules.tests Namespace Reference

Functions

def configurationSetUp
def configurationTearDown
def test_suite

Variables

 optionflags = doctest.NORMALIZE_WHITESPACE|doctest.ELLIPSIS

Function Documentation

Definition at line 17 of file tests.py.

00017 
00018 def configurationSetUp(test):
00019     setUp()
00020     
00021     XMLConfig('meta.zcml', zope.security)()
00022     XMLConfig('meta.zcml', zope.app.security)()
00023     XMLConfig('meta.zcml', zope.app.component)()
00024     
00025     XMLConfig('configure.zcml', zope.app.security)()
00026     XMLConfig('configure.zcml', zope.app.container)()
00027     XMLConfig('configure.zcml', zope.annotation)()
00028     
00029     XMLConfig('configure.zcml', plone.contentrules)()
00030     # XMLConfig('meta.zcml', plone.contentrules)()

Here is the call graph for this function:

Definition at line 31 of file tests.py.

00031 
00032 def configurationTearDown(test):
00033     tearDown()

Here is the call graph for this function:

Definition at line 34 of file tests.py.

00034 
00035 def test_suite():
00036     return unittest.TestSuite((
00037         doctest.DocFileSuite(
00038             'README.txt', 
00039             setUp=configurationSetUp, 
00040             tearDown=configurationTearDown,
00041             optionflags=optionflags),
00042         doctest.DocFileSuite(
00043             'zcml.txt', 
00044             setUp=configurationSetUp, 
00045             tearDown=configurationTearDown,
00046             optionflags=optionflags),
00047         ))
00048 


Variable Documentation

plone.contentrules.tests.optionflags = doctest.NORMALIZE_WHITESPACE|doctest.ELLIPSIS

Definition at line 15 of file tests.py.