That's what the other tests you found broken were supposed to prevent
On Jun 18, 2013 2:36 PM, "Christoph Zwerschke" <[email protected]> wrote:

> I found another problem when running tests for a quickstarted project with
> SQLAlchemy:
>
> 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.
>
> I guess this problem has not been noticed in TG 2.2 because when you run
> the complete test suite, tests/functional runs before tests/model, so
> everything is fine, and additionally the nose plugin that was included in
> Pylons made sure that the configuration was loaded before running the
> tests. Since we do not use that plugin any more in TG 2.3, we should be
> more careful about the proper setup. I'll refactor the test templates a bit
> today to make the setup process cleaner.
>
> -- Christoph
>
> --
> 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 
> turbogears-trunk+unsubscribe@**googlegroups.com<turbogears-trunk%[email protected]>
> .
> To post to this group, send email to 
> turbogears-trunk@googlegroups.**com<[email protected]>
> .
> Visit this group at 
> http://groups.google.com/**group/turbogears-trunk<http://groups.google.com/group/turbogears-trunk>
> .
> For more options, visit 
> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
> .
>
>
>

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


Reply via email to