Re: Passing arguments to subclasses of unittest.TestCase

2007-11-27 Thread Diez B. Roggisch
Tom Harris schrieb: > Hi, > > Is there a way to pass arguments to TestCases when running tests? I have > a test suite that need to be configured slightly differently for 3 > different products, and rather than do a hack I wondered if there was a > canonical way to do it. > > I _know_ that py.t

Passing arguments to subclasses of unittest.TestCase

2007-11-27 Thread Tom Harris
Hi, Is there a way to pass arguments to TestCases when running tests? I have a test suite that need to be configured slightly differently for 3 different products, and rather than do a hack I wondered if there was a canonical way to do it. I _know_ that py.test can do it trivially. I am rather