Back to index

python3.2  3.2.2
Public Member Functions
sqlite3.test.dbapi.ModuleTests Class Reference

List of all members.

Public Member Functions

def CheckAPILevel
def CheckThreadSafety
def CheckParamStyle
def CheckWarning
def CheckError
def CheckInterfaceError
def CheckDatabaseError
def CheckDataError
def CheckOperationalError
def CheckIntegrityError
def CheckInternalError
def CheckProgrammingError
def CheckNotSupportedError

Detailed Description

Definition at line 31 of file dbapi.py.


Member Function Documentation

Definition at line 32 of file dbapi.py.

00032 
00033     def CheckAPILevel(self):
00034         self.assertEqual(sqlite.apilevel, "2.0",
00035                          "apilevel is %s, should be 2.0" % sqlite.apilevel)

Here is the call graph for this function:

Definition at line 57 of file dbapi.py.

00057 
00058     def CheckDatabaseError(self):
00059         self.assertTrue(issubclass(sqlite.DatabaseError, sqlite.Error),
00060                         "DatabaseError is not a subclass of Error")

Here is the call graph for this function:

Definition at line 61 of file dbapi.py.

00061 
00062     def CheckDataError(self):
00063         self.assertTrue(issubclass(sqlite.DataError, sqlite.DatabaseError),
00064                         "DataError is not a subclass of DatabaseError")

Here is the call graph for this function:

Definition at line 49 of file dbapi.py.

00049 
00050     def CheckError(self):
00051         self.assertTrue(issubclass(sqlite.Error, Exception),
00052                         "Error is not a subclass of Exception")

Here is the call graph for this function:

Definition at line 69 of file dbapi.py.

00069 
00070     def CheckIntegrityError(self):
00071         self.assertTrue(issubclass(sqlite.IntegrityError, sqlite.DatabaseError),
00072                         "IntegrityError is not a subclass of DatabaseError")

Here is the call graph for this function:

Definition at line 53 of file dbapi.py.

00053 
00054     def CheckInterfaceError(self):
00055         self.assertTrue(issubclass(sqlite.InterfaceError, sqlite.Error),
00056                         "InterfaceError is not a subclass of Error")

Here is the call graph for this function:

Definition at line 73 of file dbapi.py.

00073 
00074     def CheckInternalError(self):
00075         self.assertTrue(issubclass(sqlite.InternalError, sqlite.DatabaseError),
00076                         "InternalError is not a subclass of DatabaseError")

Here is the call graph for this function:

Definition at line 81 of file dbapi.py.

00081 
00082     def CheckNotSupportedError(self):
00083         self.assertTrue(issubclass(sqlite.NotSupportedError,
00084                                    sqlite.DatabaseError),
00085                         "NotSupportedError is not a subclass of DatabaseError")

Here is the call graph for this function:

Definition at line 65 of file dbapi.py.

00065 
00066     def CheckOperationalError(self):
00067         self.assertTrue(issubclass(sqlite.OperationalError, sqlite.DatabaseError),
00068                         "OperationalError is not a subclass of DatabaseError")

Here is the call graph for this function:

Definition at line 40 of file dbapi.py.

00040 
00041     def CheckParamStyle(self):
00042         self.assertEqual(sqlite.paramstyle, "qmark",
00043                          "paramstyle is '%s', should be 'qmark'" %
00044                          sqlite.paramstyle)

Here is the call graph for this function:

Definition at line 77 of file dbapi.py.

00077 
00078     def CheckProgrammingError(self):
00079         self.assertTrue(issubclass(sqlite.ProgrammingError, sqlite.DatabaseError),
00080                         "ProgrammingError is not a subclass of DatabaseError")

Here is the call graph for this function:

Definition at line 36 of file dbapi.py.

00036 
00037     def CheckThreadSafety(self):
00038         self.assertEqual(sqlite.threadsafety, 1,
00039                          "threadsafety is %d, should be 1" % sqlite.threadsafety)

Here is the call graph for this function:

Definition at line 45 of file dbapi.py.

00045 
00046     def CheckWarning(self):
00047         self.assertTrue(issubclass(sqlite.Warning, Exception),
00048                      "Warning is not a subclass of Exception")

Here is the call graph for this function:


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