TestSerctlAdapter Class Reference

List of all members.


Detailed Description

Test cases for testing functionallity of the Serctl database adapter.

Author:
Enrico Hartung <enrico@iptel.org>
License:
GPL

Definition at line 36 of file TestSerctlAdapter.py.


Public Member Functions

def setUp
 Create the test user that is used for all unit test cases.
def tearDown
 Remove inserted database content.
def testInit
 Test initialization of UDI 2.1 database adapter.
def testAddAndRemoveUser
 Test adding and removing test user into a database using UDI 2.1.

Static Private Attributes

string __serctlPath = "/home/enrico/serctl"
string __dbUrl = "mysql://ser:heslo@10.37.1.27/enrico_osser"
 __testUser = None

Member Function Documentation

def setUp (   self  ) 

Create the test user that is used for all unit test cases.

Definition at line 49 of file TestSerctlAdapter.py.

def tearDown (   self  ) 

Remove inserted database content.

This should be done by the test case itself, but in case it failed, this method is supposed to clean up.

Definition at line 65 of file TestSerctlAdapter.py.

def testInit (   self  ) 

Test initialization of UDI 2.1 database adapter.

Definition at line 76 of file TestSerctlAdapter.py.

def testAddAndRemoveUser (   self  ) 

Test adding and removing test user into a database using UDI 2.1.

Definition at line 84 of file TestSerctlAdapter.py.


Member Data Documentation

string __serctlPath = "/home/enrico/serctl" [static, private]

Definition at line 38 of file TestSerctlAdapter.py.

string __dbUrl = "mysql://ser:heslo@10.37.1.27/enrico_osser" [static, private]

Definition at line 40 of file TestSerctlAdapter.py.

__testUser = None [static, private]

Definition at line 42 of file TestSerctlAdapter.py.


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

Generated on Mon Aug 11 17:28:36 2008 for TestEnv by  doxygen 1.5.5