From: Felix W. <Fel...@gm...> - 2005-06-20 19:59:48
|
David Goodger wrote: > fel...@us... wrote: > >> Log: added deactivation of config file reading (for easier testing) > > I don't think this change is necessary. There's already a > _disable_config setting. The only time that config files could be > read while testing is when one of the publish_* functions are run, and > the only such test cases already use(d) the _disable_config setting. My objective is that I can just type down a test, inheriting from StandardTestCase. The less I have to type, the better. In this case it spares me from having to keep _disable_config in mind. And if I forget to set _disable_config, the error might pass unnoticed at first, so it's better if I don't have to. -- For private mail please ensure that the header contains 'Felix Wiemann'. "the number of contributors [...] is strongly and inversely correlated with the number of hoops each project makes a contributing user go through." -- ESR |