On Mon, Jun 22, 2009 at 12:53 PM, Christoph Zwerschke<[email protected]> wrote: > > I see some problems with the current test suite for TG2 (trunk): > > * The output is cluttered with deprecation warnings: > > pylons\templating.py:328: DeprecationWarning: > pylons.h is deprecated: > > beaker\cache.py:129: DeprecationWarning: > Specifying a 'type' and other namespace configuration > with cache.get()/put()/etc. is deprecated. > > dispatcher.py:...: UserWarning: > this functionality is going to removed in the next minor version > > Tests or code should either be updated or should catch the warnings so > that they don't appear in user output. > > * The following tests are broken for me: > > ERROR: test_lookup_with_dispatch > (tg.tests.test_rest_controller_dispatch.TestTGController) > AttributeError: LookupAlwaysHelper instance has no attribute > '_setup_wsgiorg_routing_args' > > ERROR: test_template_override > (tg.tests.test_tg_controller_dispatch.TestTGController) > TypeError: No object (name: h) > has been registered for this thread > > * If tests in test_stack break, the complete log > with all the debug entries is shown, which is > sometimes useful, but normally way too much. > Can this somehow be switched on and off? > I think it should be switched off by default. > > I've currently no time to work on these problems. Maybe somebody can > solve these things, or I am doing something wrong. > Those come from pylons, they are fixed in the hg tip for 2.1. I guess we could backport those fixes.
> -- Christoph > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
