Re: reading argv argument of unittest.main()

2007-05-10 Thread Gabriel Genellina
En Thu, 10 May 2007 14:42:56 -0300, <[EMAIL PROTECTED]> escribió: > I've read that unittest.main() can take an optional argv argument, and > that if it is None, it will be assigned sys.argv. > > Is there a way to pass command line arguments through unittest.main() > to the setUp method of a class

reading argv argument of unittest.main()

2007-05-10 Thread winston . yang
I've read that unittest.main() can take an optional argv argument, and that if it is None, it will be assigned sys.argv. Is there a way to pass command line arguments through unittest.main() to the setUp method of a class derived from unittest.TestCase? Thank you in advance. Winston -- http://