mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 08:35:21 +00:00
Merge pull request #54571 from garethgreenaway/2019_2_1_port_54154
[master] Porting #54154 to master
This commit is contained in:
commit
09655f9e19
@ -505,7 +505,7 @@ class CPModuleTest(ModuleCase):
|
||||
file_contents = 'Hello world!'
|
||||
|
||||
for dirname in (nginx_root_dir, nginx_conf_dir):
|
||||
os.mkdir(dirname)
|
||||
os.makedirs(dirname)
|
||||
|
||||
# Write the temp file
|
||||
with salt.utils.files.fopen(os.path.join(nginx_root_dir, 'actual_file'), 'w') as fp_:
|
||||
|
Loading…
Reference in New Issue
Block a user