Back to index

moin  1.9.0~rc2
Public Member Functions
MoinMoin._tests._test_template.TestSimpleStuff Class Reference

List of all members.

Public Member Functions

def testSimplest

Detailed Description

The simplest MoinMoin test class

Class name must start with 'Test' to be included in
the tests.

See http://codespeak.net/py/dist/test.html for reference.

Definition at line 17 of file _test_template.py.


Member Function Documentation

module_tested: test description...

Function name MUST start with 'test' to be included in the
tests.

Definition at line 25 of file _test_template.py.

00025 
00026     def testSimplest(self):
00027         """ module_tested: test description...
00028 
00029         Function name MUST start with 'test' to be included in the
00030         tests.
00031         """
00032         # You can access the current request with self.request. It is
00033         # injected for you into the test class by moin test framework.
00034         result = module_tested.some_function(self.request, 'test_value')
00035         expected = 'expected value'
00036         assert result == expected
00037 

Here is the call graph for this function:


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