mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix pylint for 2019.2
This commit is contained in:
parent
4df5b13e66
commit
1dd92a943a
2 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue