mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
f
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
e93c86ccf3
commit
32a7c51b40
2 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,6 @@ def minion_opts(tmp_path):
|
|||
dirpath.mkdir(parents=True)
|
||||
opts[name] = str(dirpath)
|
||||
opts["log_file"] = "logs/minion.log"
|
||||
opts["file_client"] = "local"
|
||||
return opts
|
||||
|
||||
|
||||
|
|
|
@ -17,6 +17,7 @@ def render_dict():
|
|||
|
||||
|
||||
def test_compile_template_str_mkstemp_cleanup(minion_opts):
|
||||
minion_opts["file_client"] = "local"
|
||||
with patch("os.unlink", MagicMock()) as unlinked:
|
||||
_state = salt.state.State(minion_opts)
|
||||
ret = template.compile_template_str(
|
||||
|
|
Loading…
Add table
Reference in a new issue