You don't give the imports in the documentation, but I'm assuming testutil is a module. You seem to be using module globals to manage the application? This seems problematic to me. Specifically this example:
testutil.mount(MyRoot()) testutil.mount(SubApp(), '/subthing') app = testutil.make_app() I guess this is optional, but even as an optional technique it seems problematic. One issue is how this can affect different tests, whether these module-level side effects can leak from one test to another. I suppose this would feel more comfortable to someone used to CherryPy, but just reading this code leaves me feeling confused -- where are you mounting things, what does make_app return? -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
