PyLint fixes

This commit is contained in:
Pedro Algarvio 2015-07-02 10:10:25 +01:00
parent 07167422ba
commit 545d7e0a34

View File

@ -1,5 +1,7 @@
# -*- coding: utf-8 -*-
# pylint: disable=function-redefined
# TODO: Remove the following PyLint disable as soon as we support YAML and RST rendering
# pylint: disable=abstract-method
# Import python libs
from __future__ import absolute_import
@ -563,7 +565,6 @@ class ConfigTestCase(TestCase):
jsonschema.validate({'item': 3}, TestConf.serialize())
self.assertIn('is not one of', excinfo.exception.message)
def test_integer_config(self):
item = config.IntegerConfig(title='How many dogs', description='Question')
self.assertDictEqual(
@ -736,7 +737,6 @@ class ConfigTestCase(TestCase):
self.assertIn('is not one of', excinfo.exception.message)
if __name__ == '__main__':
from integration import run_tests
run_tests(ConfigTestCase, needs_daemon=False)