mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fixed LoadAuthTestCase
This commit is contained in:
parent
4e9733ad6d
commit
46e4bb58e5
1 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ class LoadAuthTestCase(TestCase):
|
|||
'eauth': 'pam'
|
||||
}, expected_extra_kws=auth.AUTH_INTERNAL_KEYWORDS)
|
||||
ret = self.lauth.load_name(valid_eauth_load)
|
||||
format_call_mock.assert_has_calls(expected_ret)
|
||||
format_call_mock.assert_has_calls((expected_ret,))
|
||||
|
||||
def test_get_groups(self):
|
||||
valid_eauth_load = {'username': 'test_user',
|
||||
|
@ -63,7 +63,7 @@ class LoadAuthTestCase(TestCase):
|
|||
'eauth': 'pam'
|
||||
}, expected_extra_kws=auth.AUTH_INTERNAL_KEYWORDS)
|
||||
self.lauth.get_groups(valid_eauth_load)
|
||||
format_call_mock.assert_has_calls(expected_ret)
|
||||
format_call_mock.assert_has_calls((expected_ret,))
|
||||
|
||||
|
||||
@patch('zmq.Context', MagicMock())
|
||||
|
|
Loading…
Add table
Reference in a new issue