Back to index

plone3  3.1.7
Classes | Functions | Variables
plone.app.customerize.tests.testDocTests Namespace Reference

Classes

class  CustomerizeFunctionalTestCase

Functions

def test_suite

Variables

tuple OPTIONFLAGS
tuple pattern = compile('.*\.(txt|rst)$')

Function Documentation

Definition at line 45 of file testDocTests.py.

00045 
00046 def test_suite():
00047     suite = TestSuite()
00048     docs_dir = abspath(dirname(docs.__file__)) + '/'
00049     for path, dirs, files in walk(docs_dir):
00050         for name in files:
00051             relative = join(path, name)[len(docs_dir):]
00052             if not '.svn' in split(path) and pattern.search(name):
00053                 suite.addTest(FunctionalDocFileSuite(relative,
00054                     optionflags=OPTIONFLAGS,
00055                     package=docs.__name__,
00056                     test_class=CustomerizeFunctionalTestCase))
00057     return suite

Here is the call graph for this function:


Variable Documentation

Initial value:
00001 (doctest.REPORT_ONLY_FIRST_FAILURE |
00002                doctest.ELLIPSIS |
00003                doctest.NORMALIZE_WHITESPACE)

Definition at line 18 of file testDocTests.py.

tuple plone.app.customerize.tests.testDocTests.pattern = compile('.*\.(txt|rst)$')

Definition at line 41 of file testDocTests.py.