On 5/25/06, Liza <[EMAIL PROTECTED]> wrote:

I have 40+ tests from a TG 0.8 app that I want to get running now that
I've more or less ported the app to the latest svn.  The old tests
used my real MySQL DB, but that process seems to no longer works so I
figured I needed to move to sqlite for testing.

could you eleborate on that, what happens, traceback,etc.

Can someone provide a quick up-to-date sample test that will load my
model before running the tests?

check the command module
your interested in class CommandWithDB
http://trac.turbogears.org/turbogears/browser/trunk/turbogears/command/base.py#L56

and what you need to do is very similar to
the Class Shell
http://trac.turbogears.org/turbogears/browser/trunk/turbogears/command/base.py#L164

which by the way is what happens went you run
tg-admin shell

Thanks in advance!

yw

--Liza


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to