Chris Miles wrote: > Two of the controller tests now pass, but one still fails. The failed > response contains a 500 error with the following exception:
On my machine both tests pass. But this can be a timing issue. > The problem now, as I see it, is that as a test completes it calls > teardown_func() to stop TurboGears. i.e.: > ... > 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. The reason for the teardown function is explained here: http://trac.turbogears.org/ticket/1217 But I believe http://trac.turbogears.org/ticket/1236 has already solved this problem more fundamentally so that the workaround with the teardown function is not necessary any more. So yes, please file a ticket for removing this. -- Christoph --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

