On 25 mars 12:53, Scott Pilkey wrote:
> We are working on a fix for bug #21591
> (http://www.logilab.org/ticket/21591), but we aren't sure how to
> test this.
> 
> As it is now, we test by running 'pylint -f html -r n *module* >
> something.html', but we don't know how to enable options when
> running tests in the test suite. Is this possible to do? If not, is
> there any way to write tests for this bug?

you can set options programmatically using 

  config.global_set_option('option name', 'option value')

-- 
Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org

_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to