Back to index

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

Classes

class  LinkIntegrityFunctionalTestCase
class  LinkIntegrityTestCase

Functions

def test_suite

Variables

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

Function Documentation

Definition at line 78 of file testDocTests.py.

00078 
00079 def test_suite():
00080     suite = TestSuite([
00081         makeSuite(LinkIntegrityTestCase),
00082     ])
00083     docs_dir = abspath(dirname(docs.__file__)) + '/'
00084     for path, dirs, files in walk(docs_dir):
00085         for name in files:
00086             relative = join(path, name)[len(docs_dir):]
00087             if not '.svn' in split(path) and pattern.search(name):
00088                 suite.addTest(FunctionalDocFileSuite(relative,
00089                     optionflags=OPTIONFLAGS,
00090                     package=docs.__name__,
00091                     test_class=LinkIntegrityFunctionalTestCase))
00092     return suite
00093 

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 22 of file testDocTests.py.

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

Definition at line 74 of file testDocTests.py.

Definition at line 19 of file testDocTests.py.