Fix pylint for 2019.2

This commit is contained in:
Ch3LL 2019-01-22 13:38:45 -05:00
parent 4df5b13e66
commit 1dd92a943a
No known key found for this signature in database
GPG Key ID: 132B55A7C13EFA73
2 changed files with 2 additions and 1 deletions

View File

@ -240,6 +240,7 @@ class UserTestCase(TestCase, LoaderModuleMockMixin):
'shadow.default_hash': shadow_hash,
'file.group_to_gid': MagicMock(side_effect=['foo']),
'file.gid_to_group': MagicMock(side_effect=[5000])}
def mock_exists(*args):
return True

View File

@ -8,7 +8,7 @@ import shutil
# salt testing libs
from tests.support.unit import TestCase, skipIf
from tests.support.mock import(
from tests.support.mock import (
patch,
mock_open,
NO_MOCK,