Back to index

plone3  3.1.7
Functions
plone.app.viewletmanager.tests.tests Namespace Reference

Functions

def tearDown
def test_suite

Function Documentation

Definition at line 5 of file tests.py.

00005 
00006 def tearDown(test):
00007     zope.component.testing.tearDown(test)

Definition at line 8 of file tests.py.

00008 
00009 def test_suite():
00010     from unittest import TestSuite, makeSuite
00011     suite = TestSuite()
00012     suite.addTests((
00013         DocFileSuite('storage.txt',
00014                      tearDown=tearDown,
00015                      optionflags=doctest.NORMALIZE_WHITESPACE|doctest.ELLIPSIS,
00016         ),
00017         DocFileSuite('manager.txt',
00018                      tearDown=tearDown,
00019                      optionflags=doctest.NORMALIZE_WHITESPACE|doctest.ELLIPSIS,
00020         ),
00021     ))
00022     return suite