mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Pylint and (hopefully) Jenkins test fix.
This commit is contained in:
parent
e6e0eec532
commit
469989092d
@ -62,7 +62,7 @@ class LoadAuthTestCase(TestCase):
|
||||
self.lauth.get_groups(valid_eauth_load)
|
||||
format_call_mock.assert_has_calls(expected_ret)
|
||||
|
||||
|
||||
@patch('salt.utils.verify.check_path_traversal')
|
||||
@patch('salt.utils.event.tagify', return_value=[])
|
||||
@patch('salt.utils.event.SaltEvent.fire_event', return_value='dummy_tag')
|
||||
@patch('salt.auth.LoadAuth.time_auth', return_value=True)
|
||||
@ -83,7 +83,7 @@ class MasterAuthTestCase(TestCase):
|
||||
None, None, None)
|
||||
|
||||
|
||||
def test_master_publish_name(self, ck_minions_mock, time_auth_mock, fire_event_mock, tagify_mock):
|
||||
def test_master_publish_name(self, ck_minions_mock, time_auth_mock, fire_event_mock, tagify_mock, check_path_mock):
|
||||
'''
|
||||
Test to ensure a simple name can auth against a given function
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user