mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
PyLint fixes
This commit is contained in:
parent
07167422ba
commit
545d7e0a34
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user