There are many solutions to that particular problem. If you are running Python >= 2.7 then you can use module and class setup handlers. See http://docs.python.org/library/unittest.html#class-and-module-fixtures for details.
If your'e working with Python < 2.7 you can use the unittest2 from PyPi to do the same thing ( http://www.voidspace.org.uk/python/articles/unittest2.shtml#class-and-module-level-fixtures ) I know that nose also provides mechanisms for this but I'm not experienced with that. - Rocky -- You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en.
