Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
sqlite3.test.factory.CursorFactoryTests Class Reference

List of all members.

Public Member Functions

def setUp
def tearDown
def CheckIsInstance

Public Attributes

 con

Detailed Description

Definition at line 54 of file factory.py.


Member Function Documentation

Definition at line 61 of file factory.py.

00061 
00062     def CheckIsInstance(self):
00063         cur = self.con.cursor(factory=MyCursor)
00064         self.assertTrue(isinstance(cur,
00065                                    MyCursor),
00066                         "cursor is not instance of MyCursor")

Here is the call graph for this function:

Definition at line 55 of file factory.py.

00055 
00056     def setUp(self):
00057         self.con = sqlite.connect(":memory:")

Here is the caller graph for this function:

Definition at line 58 of file factory.py.

00058 
00059     def tearDown(self):
00060         self.con.close()

Here is the caller graph for this function:


Member Data Documentation

Definition at line 56 of file factory.py.


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