mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Restore MagicMock as it shouldn't cause any issues.
This commit is contained in:
parent
bc967fa3fb
commit
869f980b45
@ -155,6 +155,8 @@ class FileBlockReplaceTestCase(TestCase):
|
||||
prefix='blockrepltmp')
|
||||
self.tfile.write(self.MULTILINE_STRING)
|
||||
self.tfile.close()
|
||||
manage_mode_mock = MagicMock()
|
||||
filemod.__salt__['config.manage_mode'] = manage_mode_mock
|
||||
|
||||
def tearDown(self):
|
||||
os.remove(self.tfile.name)
|
||||
|
Loading…
Reference in New Issue
Block a user