[issue16312] New command line option supported by unittest.main() for running initialization code before tests

Piotr Dobrogost report at bugs.python.org
Sun Oct 28 22:07:41 CET 2012


Piotr Dobrogost added the comment:

@Vinay
I don't see other use cases but maybe guys behind py.test, where there is such a feature could come up with other use cases.
The solution with passing config dict in a new command line parameter seems to be enough as long as logging is concerned. However it's not as versatile as custom initialization code of course.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16312>
_______________________________________


More information about the Python-bugs-list mailing list