> The problem now, as I see it, is that as a test completes it calls
> teardown_func() to stop TurboGears. i.e.:
> ----
> test_indextitle = with_setup(teardown=teardown_func)(test_indextitle)
> ----
>
> This clears the visit manager which is not re-initialised for the next
> test.
>
> I can make all controller tests pass by removing the
> "teardown=teardown_func" option from the with_setup() calls.  However,
> I don't know if removing the teardown_func has any other negative
> effects on tests.
>
> If this fix is acceptable, I can create a ticket containing a patch
> for this to apply to the 1.0 branch, if it would help.
>

Yeah, you should create a ticket so other developers (who are more
familiar with this issue) could see it :)



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