mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Fix mock calls
This commit is contained in:
parent
9ba5581d40
commit
da7fefaea6
@ -43,7 +43,7 @@ class LoadAuthTestCase(TestCase):
|
||||
'test_password': '',
|
||||
'show_timeout': False,
|
||||
'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)
|
||||
|
||||
@ -58,7 +58,7 @@ class LoadAuthTestCase(TestCase):
|
||||
'test_password': '',
|
||||
'show_timeout': False,
|
||||
'eauth': 'pam'
|
||||
})
|
||||
}, expected_extra_kws=auth.AUTH_INTERNAL_KEYWORDS)
|
||||
self.lauth.get_groups(valid_eauth_load)
|
||||
format_call_mock.assert_has_calls(expected_ret)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user