Back to index

moin  1.9.0~rc2
Public Member Functions | Static Public Attributes
test_auth.AuthTest Class Reference
Inheritance diagram for test_auth.AuthTest:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def setup_class
def teardown_class
def run_request

Static Public Attributes

list PAGES = ['FrontPage', 'MoinMoin', 'HelpContents', 'WikiSandBox', ]

Detailed Description

test misc. auth methods 

Definition at line 15 of file test_auth.py.


Member Function Documentation

def test_auth.AuthTest.run_request (   self,
  params 
)

Definition at line 30 of file test_auth.py.

00030 
00031     def run_request(self, **params):
00032         request = TestRequest(**params)
00033         #XXX: config passing hack
00034         request.given_config = getattr(self, 'Config', wikiconfig.Config)
00035         context = wsgiapp.init(request)
00036         wsgiapp.run(context)
00037         return context
00038 

Here is the caller graph for this function:

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

Some test needs specific config values, or they will fail.

Definition at line 19 of file test_auth.py.

00019 
00020     def setup_class(cls):
00021         """ Stuff that should be run to init the state of this test class
00022 
00023         Some test needs specific config values, or they will fail.
00024         """

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

Definition at line 25 of file test_auth.py.

00025 
00026     def teardown_class(cls):
00027         """ Stuff that should run to clean up the state of this test class
00028 
00029         """


Member Data Documentation

list test_auth.AuthTest.PAGES = ['FrontPage', 'MoinMoin', 'HelpContents', 'WikiSandBox', ] [static]

Definition at line 17 of file test_auth.py.


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