Back to index

moin  1.9.0~rc2
Classes | Public Member Functions | Public Attributes
test_admin.TestAdmin Class Reference

List of all members.

Classes

class  Config

Public Member Functions

def setup_class
def teardown_class
def setup_method
def test_do_user_browser

Public Attributes

 user_name

Detailed Description

Definition at line 16 of file test_admin.py.


Member Function Documentation

Definition at line 25 of file test_admin.py.

00025 
00026     def setup_class(self):
00027         request = self.request
00028         user_name = 'TestUser'
00029         self.user_name = user_name
00030 
00031         become_superuser(request)
00032 
00033         User(request, name=user_name, password=user_name).save()

Here is the call graph for this function:

def test_admin.TestAdmin.setup_method (   self,
  method 
)

Definition at line 37 of file test_admin.py.

00037 
00038     def setup_method(self, method):
00039         self.request.page = Page(self.request, 'SystemAdmin')

Here is the call graph for this function:

Definition at line 34 of file test_admin.py.

00034 
00035     def teardown_class(self):
00036         nuke_user(self.request, self.user_name)

Here is the call graph for this function:

Definition at line 40 of file test_admin.py.

00040 
00041     def test_do_user_browser(self):
00042         request = self.request
00043 
00044         browser = do_user_browser(request)
00045         assert browser
00046 

Here is the call graph for this function:


Member Data Documentation

Definition at line 28 of file test_admin.py.


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