mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 08:35:21 +00:00
Fix pylint for 2019.2
This commit is contained in:
parent
4df5b13e66
commit
1dd92a943a
@ -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
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user