I am a newbie to TurboGears and to Python.  Been studying TurboGears
for a couple of weeks, and when trying to implement testing, I'm
having some problems/questions!

1.  I've modified the sample test scripts (in the '/tests' directory),
then run nosetests.  I kept getting the error:
        ProgrammingError: (1146, "Table 'research_test.sandboxes'
doesn't exist")

I'm using MySQL on  Ubuntu Linux.  I have defined different databases
for development and testing (research and research_test respectively.

 I finally manually created the sandboxes table.  Re-running nosetests
reported other errors in my code which I was able to correct.  I ran
nosetests again, and the sandboxes table was again missing!!

My model defines a single table with 8 fields.  'tg-admin sql create'
successfully creates this table in the development database, but I
can't find a way to create the table in the testing database!!?!

Is there a way to have the model table(s) created (either
programmaticaly or some tg-admin command) AND/OR prevent the testing
tables from being deleted when running nosetests??

Thanks in advance,
   Denny


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

Reply via email to