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 derived from unittest.TestCase?

Can't you use sys.argv[] directly inside setUp()?

-- 
Gabriel Genellina

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to