mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix runner tests on windows
This commit is contained in:
parent
8f6ac02c32
commit
1036056b0c
1 changed files with 4 additions and 0 deletions
|
@ -47,6 +47,10 @@ class RunnerReturnsTest(ShellCase):
|
|||
"""
|
||||
Close the tempfile.NamedTemporaryFile object, cleaning it up
|
||||
"""
|
||||
try:
|
||||
self.conf.close()
|
||||
except OSError:
|
||||
pass
|
||||
salt.utils.files.rm_rf(self.master_d_dir)
|
||||
# Force a reload of the configuration now that our temp config file has
|
||||
# been removed.
|
||||
|
|
Loading…
Add table
Reference in a new issue