Back to index

moin  1.9.0~rc2
Public Member Functions | Public Attributes | Static Public Attributes | Static Private Attributes
MoinMoin._tests.test_PageEditor.TestExpandVars Class Reference
Collaboration diagram for MoinMoin._tests.test_PageEditor.TestExpandVars:
Collaboration graph

List of all members.

Public Member Functions

def setup_method
def testExpandVariables

Public Attributes


Static Public Attributes

string pagename = u'AutoCreatedMoinMoinTemporaryTestPage'

Static Private Attributes

tuple _tests

Detailed Description

PageEditor: testing page editor

Definition at line 19 of file

Member Function Documentation

Definition at line 31 of file

00032     def setup_method(self, method):
00033 = PageEditor(self.request, self.pagename)

PageEditor: expand general variables 

Definition at line 34 of file

00035     def testExpandVariables(self):
00036         """ PageEditor: expand general variables """
00037         for var, expected in self._tests:
00038             result =
00039             assert result == expected

Member Data Documentation

Initial value:
        # Variable,             Expanded
        ("@PAGE@", pagename),
        ("em@PAGE@bedded", "em%sbedded" % pagename),
        ("@NOVAR@", "@NOVAR@"),
        ("case@Page@sensitive", "case@Page@sensitive"),

Definition at line 23 of file

Definition at line 32 of file

string MoinMoin._tests.test_PageEditor.TestExpandVars.pagename = u'AutoCreatedMoinMoinTemporaryTestPage' [static]

Definition at line 21 of file

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