Back to index

moin  1.9.0~rc2
Public Member Functions | Static Public Attributes
MoinMoin._tests.test_wikiutil.TestTemplatePage Class Reference

List of all members.

Public Member Functions

def testTemplatePage

Static Public Attributes

tuple good
tuple bad

Detailed Description

Definition at line 105 of file test_wikiutil.py.


Member Function Documentation

wikiutil: good template names accepted, bad rejected

Definition at line 118 of file test_wikiutil.py.

00118 
00119     def testTemplatePage(self):
00120         """wikiutil: good template names accepted, bad rejected"""
00121         for name in self.good:
00122             assert  wikiutil.isTemplatePage(self.request, name)
00123         for name in self.bad:
00124             assert not wikiutil.isTemplatePage(self.request, name)
00125 

Here is the call graph for this function:


Member Data Documentation

Initial value:
(
        'Template',
        'I want a Template',
        'TemplateInFront',
        'xTemplateInFront',
        'XTemplateInFront',
    )

Definition at line 110 of file test_wikiutil.py.

Initial value:
(
        'aTemplate',
        'MyTemplate',
    )

Definition at line 106 of file test_wikiutil.py.


The documentation for this class was generated from the following file: