Back to index

moin  1.9.0~rc2
Classes | Public Member Functions | Private Member Functions | Static Private Attributes
MoinMoin._tests._test_template.TestComplexStuff Class Reference

List of all members.

Classes

class  Config

Public Member Functions

def setup_class
def teardown_class
def testFunction

Private Member Functions

def _helper_fuction

Static Private Attributes

tuple _tests

Detailed Description

Describe these tests here...

Some tests may have a list of tests related to this test case. You
can add a test by adding another line to this list

Definition at line 38 of file _test_template.py.


Member Function Documentation

Some tests needs extra  work to run

Keep the test non interesting details out of the way.

Definition at line 67 of file _test_template.py.

00067 
00068     def _helper_fuction(self, test):
00069         """ Some tests needs extra  work to run
00070 
00071         Keep the test non interesting details out of the way.
00072         """
00073         module_tested.do_this(self.request)
00074         module_tested.do_that()
00075         result = None
00076         return result
00077 

Here is the call graph for this function:

Stuff that should be run to init the state of this test class

Definition at line 53 of file _test_template.py.

00053 
00054     def setup_class(self):
00055         """ Stuff that should be run to init the state of this test class
00056         """

Stuff that should run to clean up the state of this test class

Definition at line 57 of file _test_template.py.

00057 
00058     def teardown_class(self):
00059         """ Stuff that should run to clean up the state of this test class
00060         """

module_tested: function should... 

Definition at line 61 of file _test_template.py.

00061 
00062     def testFunction(self):
00063         """ module_tested: function should... """
00064         for description, test, expected in self._tests:
00065             result = self._helper_function(test)
00066             assert result == expected


Member Data Documentation

Initial value:
(
        # description,  test,            expected
        ('Line break',  '<<BR>>',        '<br>'),
    )

Definition at line 44 of file _test_template.py.


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