tests.model package

Submodules

tests.model.test_sql_query_column_model module

test class

class tests.model.test_sql_query_column_model.SQLColumnModelTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test class for SQLColumnModel

testColumnAsDescriptionLongNameCamelCase()[source]

Test column as description for a long name with camel case.

testColumnAsDescriptionLongNamePascalCase()[source]

Test column as description for a long name with pascal case.

testColumnAsDescriptionShortName()[source]

Test column as description for a short name.

testColumnAsSnakeCaseHasUnderline()[source]

Test column as description for a name ending with an underscore resulting in an error.

testColumnAsSnakeCaseLongNameCamelCase()[source]

Test snake case for a long name with camel case.

testColumnAsSnakeCaseLongNamePascalCase()[source]

Test snake case for for a long name with pascal case.

testColumnAsSnakeCaseShortName()[source]

Test snake case for a short name only small letters.

testColumnAsSnakeCaseStartWithNumber()[source]

Test snake case for a name with numbers resulting in an error.

testColumnAsSnakeCaseWithNumber()[source]

Test snake case for a short name only small letters.

testColumnTypeAsNameInt()[source]

Test getting the type for an int

testColumnTypeAsNameString()[source]

Test getting the type for a string.

tests.model.test_sql_query_column_model_timestamp module

test class

class tests.model.test_sql_query_column_model_timestamp.SQLColumnModelTimestampTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test class for SQLColumnModel

testGetShortExpectedMessage()[source]

Test getting the short message.

Module contents