mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix test_cp failure: forgot to add tgt to test when @with_tempfile is present
This commit is contained in:
parent
d0202cab72
commit
a0fcd5c053
1 changed files with 1 additions and 1 deletions
|
@ -635,7 +635,7 @@ class CPModuleTest(ModuleCase):
|
|||
os.unlink(tgt)
|
||||
|
||||
@with_tempfile
|
||||
def test_get_file_from_env_in_url(self):
|
||||
def test_get_file_from_env_in_url(self, tgt):
|
||||
tgt = os.path.join(paths.TMP, 'cheese')
|
||||
try:
|
||||
self.run_function('cp.get_file', ['salt://cheese?saltenv=prod', tgt])
|
||||
|
|
Loading…
Add table
Reference in a new issue