[bind10-dev] python unit test verbosity

Naoki Kambe kambe at jprs.co.jp
Fri Mar 30 02:37:22 UTC 2012


Hello, 

From: "Jeremy C. Reed" <jreed at isc.org>
> > The Python 3.1 way is to run the unittest with -v (worked for me). Can 
> > we do this instead?
> 
> Kambe: I am curious why remove -v option in commit 
> ddec42c7a23cca11903ece8f7ab614dcc7e5edd3

I'm probably sure that I removed it because it was no longer needed
and too verbose. I think I just added before that in order to precisly
know what unittests died.

> I re-added it in my local copy and it works even with Python "coverage".

At least when I tested, "coverage" didn't probably allow me to set a
verbosity in the function unittest.main, e.g. unittest.main(verbosity=2).

If the latter style also works, I would be happy:-)

Regards,

Naoki Kambe


More information about the bind10-dev mailing list