sqlobject.tests.test_validation module

class sqlobject.tests.test_validation.SOTestValidator(*args, **kw)[source]

Bases: formencode.api.Validator

Messages

declarative_count = 381
from_python(value, state)[source]
to_python(value, state)[source]
class sqlobject.tests.test_validation.SOValidation(**kw)[source]

Bases: sqlobject.main.SQLObject

j = so_validation
name
name2
name3
name4
name5
name6
name7
name8
name9
q = so_validation
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'name': <StringCol b323380cL name>, 'name6': <BoolCol b323372cL name6>, 'name7': <UnicodeCol b3233fecL name7>, 'name4': <FloatCol b32337ecL name4>, 'name5': <PickleCol b3233bccL name5>, 'name2': <StringCol b31f026cL name2>, 'name3': <IntCol b323360cL name3>, 'name8': <IntCol b323302cL name8>, 'name9': <IntCol b323364cL name9>}
columnList = [<SOStringCol name default='x'>, <SOStringCol name2 default='y'>, <SOIntCol name3 default=100>, <SOFloatCol name4 default=2.718>, <SOPickleCol name5 default=None>, <SOBoolCol name6 default=None>, <SOUnicodeCol name7 default=None>, <SOIntCol name8 default=None>, <SOIntCol name9 default=0>]
columns = {'name': <SOStringCol name default='x'>, 'name6': <SOBoolCol name6 default=None>, 'name7': <SOUnicodeCol name7 default=None>, 'name4': <SOFloatCol name4 default=2.718>, 'name5': <SOPickleCol name5 default=None>, 'name2': <SOStringCol name2 default='y'>, 'name3': <SOIntCol name3 default=100>, 'name8': <SOIntCol name8 default=None>, 'name9': <SOIntCol name9 default=0>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of SOValidation

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'so_validation'
class sqlobject.tests.test_validation.SOValidationTest(value)[source]

Bases: object

class sqlobject.tests.test_validation.SOValidationTestBool(value)[source]

Bases: sqlobject.tests.test_validation.SOValidationTest

class sqlobject.tests.test_validation.SOValidationTestFloat(value)[source]

Bases: sqlobject.tests.test_validation.SOValidationTest

class sqlobject.tests.test_validation.SOValidationTestInt(value)[source]

Bases: sqlobject.tests.test_validation.SOValidationTest

class sqlobject.tests.test_validation.SOValidationTestUnicode(value)[source]

Bases: sqlobject.tests.test_validation.SOValidationTest

class sqlobject.tests.test_validation.TestValidation[source]
setup_method(meth)[source]
test_confirmType()[source]
test_emptyValue()[source]
test_validate()[source]
test_validator2()[source]
test_wrapType()[source]