On Aug 22, 4:52 am, "David N Montgomery" <[EMAIL PROTECTED]> wrote: > unittest is the best choice for my needs and works perfectly in Eclipse. > Unfortunately though it (and many other things) does not work under the > application we have to use to run our python scripts. > > This leaves me with 'functionToCall = getattr(self, "testCase%s" % tc)'. > This achieves the optimisation/simplification I had been looking for. > > Thank you once again.
Just out of curiosity, what about your environment prevents you from using unittest? Hyuga -- http://mail.python.org/mailman/listinfo/python-list