Back to index

moin  1.9.0~rc2
Public Member Functions | Public Attributes | Static Public Attributes
test_Action.TestAction Class Reference
Collaboration diagram for test_Action.TestAction:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def testActionCallingRaw

Public Attributes

 page

Static Public Attributes

string pagename = u'AutoCreatedMoinMoinTemporaryTestPageForAction'

Detailed Description

testing macro Action calling action raw 

Definition at line 17 of file test_Action.py.


Member Function Documentation

module_tested: executes raw by macro Action on existing page

Definition at line 21 of file test_Action.py.

00021 
00022     def testActionCallingRaw(self):
00023         """ module_tested: executes raw by macro Action on existing page"""
00024         request = self.request
00025         become_trusted(request)
00026         self.page = create_page(request, self.pagename, u'= title1 =\n||A||B||\n')
00027         m = make_macro(self.request, self.page)
00028         result = Action.macro_Action(m, 'raw')
00029         nuke_page(request, self.pagename)
00030         expected = '<a class="action" href="/AutoCreatedMoinMoinTemporaryTestPageForAction?action=raw">raw</a>'
00031         assert result == expected

Here is the call graph for this function:


Member Data Documentation

Definition at line 25 of file test_Action.py.

string test_Action.TestAction.pagename = u'AutoCreatedMoinMoinTemporaryTestPageForAction' [static]

Definition at line 19 of file test_Action.py.


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