Back to index

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

List of all members.

Public Member Functions

def setUp
def CheckIsProducedByFactory
def tearDown

Public Attributes

 con

Detailed Description

Definition at line 67 of file factory.py.


Member Function Documentation

Definition at line 71 of file factory.py.

00071 
00072     def CheckIsProducedByFactory(self):
00073         cur = self.con.cursor(factory=MyCursor)
00074         cur.execute("select 4+5 as foo")
00075         row = cur.fetchone()
00076         self.assertTrue(isinstance(row,
00077                                    dict),
00078                         "row is not instance of dict")
00079         cur.close()

Here is the call graph for this function:

Definition at line 68 of file factory.py.

00068 
00069     def setUp(self):
00070         self.con = sqlite.connect(":memory:")

Here is the caller graph for this function:

Definition at line 80 of file factory.py.

00080 
00081     def tearDown(self):
00082         self.con.close()

Here is the caller graph for this function:


Member Data Documentation

Definition at line 69 of file factory.py.


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