mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
We're mock'ing, it's ok to ignore the PyLint warning.
This commit is contained in:
parent
abf38ed1d9
commit
4607d38cd4
@ -16,7 +16,7 @@ class LoadAuthTestCase(TestCase):
|
||||
|
||||
@patch('salt.payload.Serial')
|
||||
@patch('salt.loader.auth', return_value={'pam.auth': 'fake_func_str'})
|
||||
def setUp(self, auth_mock, serial_mock):
|
||||
def setUp(self, auth_mock, serial_mock): # pylint: disable=W0221
|
||||
self.lauth = auth.LoadAuth({}) # Load with empty opts
|
||||
|
||||
def test_load_name(self):
|
||||
|
Loading…
Reference in New Issue
Block a user