Fix pylint tests

Please see https://lists.launchpad.net/openerp-community/msg06816.html