tests.dal package¶
Submodules¶
tests.dal.test_explain_query_plan module¶
test class
-
class
tests.dal.test_explain_query_plan.ExplainQueryPlanTest(methodName='runTest')[source]¶ Bases:
unittest.case.TestCasetest the SQLite Query execution test
-
testIsReadOnlyIfFalseBecauseOfAlter()[source]¶ test IsReadOnly if it is False because it is a alter query
-
tests.dal.test_sqlite_database_information module¶
test class
tests.dal.test_sqlite_query_execution module¶
test class
-
class
tests.dal.test_sqlite_query_execution.SQLiteQueryExecutionTest(methodName='runTest')[source]¶ Bases:
unittest.case.TestCasetest the SQLite Query execution test
-
testExecuteQueryDetailedJoinNoDataNoSpace()[source]¶ test the execution of a join Query with no data
-
testExecuteQueryDetailedWithAliasWithUnderscore()[source]¶ test the execution of a more complex Query
-
testExecuteQueryDetailedWithAliasWithUnderscore2()[source]¶ test the execution of a more complex Query
-
testExecuteQueryDetailedWithAliasWithUnderscore3()[source]¶ test the execution of a more complex Query
-
testExecuteQueryDetailedWithJoinAndAliasForTable()[source]¶ test the execution of a more complex Query
-
testExecuteQueryDetailedWithJoinAndAliasWithUnderscore()[source]¶ test the execution of a more complex Query
-
testExecuteQueryDetailedWithOneDuplicateColumnNames()[source]¶ test the execution of a simple Query with one duplicate column name
-
testExecuteQueryDetailedWithTwoDuplicateColumnNames()[source]¶ test the execution of a simple Query with two duplicate column names
-
testExecuteQueryReadOnlyWithAliasForMultipleTable()[source]¶ test the execution of a more complex Query
-
testExecuteReadOnlyQueryWithErrorBecauseOfAlter()[source]¶ test execute read only with a alter rename query
-
testExecuteReadOnlyQueryWithWarning()[source]¶ test execute read only with two queries at the same time
-
testMultipleTestAfterOneAnother()[source]¶ test two querys after another to test the connection is still open
-
testQueryErrorNoSuchColumn()[source]¶ test two querys after another to test the connection is still open
-
tests.dal.test_sqlite_type_helper module¶
test class
-
class
tests.dal.test_sqlite_type_helper.SQLiteQueryExecutionTest(methodName='runTest')[source]¶ Bases:
unittest.case.TestCasetest the SQLite Query execution test
-
testAddMissingTypesFromSchemaForMultipleOneTable()[source]¶ test getting missing types from schema multiple tables
-
testAddMissingTypesFromSchemaForOnlyOneTable()[source]¶ test getting missing types from schema if only one table
-
testGetColumnDescriptionWithElements()[source]¶ test getting column description if description is not empty.
-
testGetDuplicateColumnNamesIfMultipleDuplicates()[source]¶ test a duplicate list with multiple duplicates
-
testGetEndOfTableIfNotAliasWithAliasAfterWithComma()[source]¶ test get the end of a table with alias after
-
testGetEndOfTableIfNotAliasWithAliasAfterWithSpace()[source]¶ test get the end of a table with alias after
-
testGetEndOfTableIfNotAliasWithMultipleAliasBefore()[source]¶ test get the end of a table with alias before
-
testGetPositionAfterSeparatorCommaAndMultipleSpaceBeforeAndAfter()[source]¶ test getting position after comma and multiple space before and after comma
-
testGetPositionAfterSeparatorCommaAndSpaceAfter()[source]¶ test getting position after comma and space afterwards
-