mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fix test_auth
This commit is contained in:
parent
94763bb50b
commit
04e820258f
1 changed files with 1 additions and 2 deletions
|
@ -18,7 +18,6 @@ from tests.support.unit import TestCase
|
|||
class LoadAuthTestCase(TestCase):
|
||||
def setUp(self): # pylint: disable=W0221
|
||||
patches = (
|
||||
("salt.payload.Serial", None),
|
||||
(
|
||||
"salt.loader.auth",
|
||||
dict(
|
||||
|
@ -166,7 +165,7 @@ class MasterACLTestCase(ModuleCase):
|
|||
|
||||
patches = (
|
||||
("zmq.Context", MagicMock()),
|
||||
("salt.payload.Serial.dumps", MagicMock()),
|
||||
("salt.payload.dumps", MagicMock()),
|
||||
("salt.master.tagify", MagicMock()),
|
||||
("salt.utils.event.SaltEvent.fire_event", self.fire_event_mock),
|
||||
("salt.auth.LoadAuth.time_auth", MagicMock(return_value=True)),
|
||||
|
|
Loading…
Add table
Reference in a new issue