If you test units do not alter the database you can simply change test.ini to point to your testing database.
Otherwise sqlite is able to export its content as csv, which you can easily load from python using the csv module to load your test data. On Tue, May 29, 2012 at 10:37 PM, [email protected] <[email protected]> wrote: > Hello, > > how do you pass test data for unit tests for turbogears applications? > I have testing sqlite database and want to use it for unit testing, > without converting the data into python code and cannot figure it out. > Can fixture lib be used somehow? > > -- > You received this message because you are subscribed to the Google Groups > "TurboGears" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/turbogears?hl=en. > -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

