On Tue, Jun 18, 2013 at 08:36:19PM +0200, Christoph Zwerschke wrote: > The test application is only loaded in TestController.setUp() which > is only run when the test methods in tests/functional run. When you > run only the tests in tests/model, then the application is not > loaded, the config is empty and setup_db will throw an error. Oh, I thought that was done on purpose. I hit that problem when testing things outside the controllers that need models to operate. I basically copied some of the code across to make my own setup but fixing it right would be a better idea.
- Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5 -- You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/turbogears-trunk. For more options, visit https://groups.google.com/groups/opt_out.
