Back to index

moin  1.9.0~rc2
Public Member Functions | Public Attributes | Static Public Attributes
test_FootNote.TestFootNote Class Reference
Collaboration diagram for test_FootNote.TestFootNote:
Collaboration graph

List of all members.

Public Member Functions

def setup_class
def teardown_class
def test_enumbering

Public Attributes


Static Public Attributes

string pagename = u'AutoCreatedMoinMoinTemporaryTestPageForFootNote'

Detailed Description

testing macro Action calling action raw 

Definition at line 16 of file

Member Function Documentation

Definition at line 20 of file

00021     def setup_class(self):
00022         become_trusted(self.request)
00023 = create_page(self.request, self.pagename, u"Foo!")

Here is the call graph for this function:

Definition at line 24 of file

00025     def teardown_class(self):
00026         nuke_page(self.request, self.pagename)

Here is the call graph for this function:

module_tested: enumbering of Footnotes

Definition at line 27 of file

00028     def test_enumbering(self):
00029         """ module_tested: enumbering of Footnotes"""
00030         m = make_macro(self.request,
00031         text = 'a'
00032         FootNote.execute(m, text)
00033         text = 'b'
00034         FootNote.execute(m, text)
00035         result = FootNote.emit_footnotes(m.request, m.request.formatter)
00036         assert result.endswith('2</a>)</li></ol></div>')

Here is the call graph for this function:

Member Data Documentation

Definition at line 22 of file

string test_FootNote.TestFootNote.pagename = u'AutoCreatedMoinMoinTemporaryTestPageForFootNote' [static]

Definition at line 18 of file

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