sqlobject.tests.test_csvexport module

class sqlobject.tests.test_csvexport.ComplexCSV(**kw)[source]

Bases: sqlobject.main.SQLObject

age
csvColumnOrder = ['name', 'fname', 'lname', 'age']
extraCSVColumns = [('name', 'Full Name'), 'initials']
fname
initials
j = complex_cs_v
lname
name
q = complex_cs_v
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'lname': <StringCol b38cd74cL lname>, 'age': <IntCol b38cd3acL age>, 'fname': <StringCol b38cd5ecL fname>}
columnList = [<SOStringCol fname>, <SOStringCol lname>, <SOIntCol age>]
columns = {'lname': <SOStringCol lname>, 'age': <SOIntCol age>, 'fname': <SOStringCol fname>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of ComplexCSV

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'complex_cs_v'
class sqlobject.tests.test_csvexport.SimpleCSV(**kw)[source]

Bases: sqlobject.main.SQLObject

address
hidden
j = simple_cs_v
name
q = simple_cs_v
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'hidden': <StringCol b387722cL hidden>, 'name': <StringCol b3c0958cL name>, 'address': <StringCol b38778ccL address>}
columnList = [<SOStringCol name>, <SOStringCol address>, <SOStringCol hidden>]
columns = {'hidden': <SOStringCol hidden>, 'name': <SOStringCol name>, 'address': <SOStringCol address>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of SimpleCSV

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'simple_cs_v'
sqlobject.tests.test_csvexport.assert_export(result, *args, **kw)[source]
sqlobject.tests.test_csvexport.test_complex()[source]
sqlobject.tests.test_csvexport.test_simple()[source]
sqlobject.tests.test_csvexport.test_zip()[source]