mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix pre-commit
This commit is contained in:
parent
9de6ddceb9
commit
b64a0caccc
1 changed files with 3 additions and 1 deletions
|
@ -578,7 +578,9 @@ class CMDModuleTest(ModuleCase):
|
|||
core
|
||||
"""
|
||||
val = "i like cheese"
|
||||
args = '-SecureString (ConvertTo-SecureString -String "{}" -AsPlainText -Force) -ErrorAction Stop'.format(val)
|
||||
args = '-SecureString (ConvertTo-SecureString -String "{}" -AsPlainText -Force) -ErrorAction Stop'.format(
|
||||
val
|
||||
)
|
||||
script = "salt://issue-56195/test.ps1"
|
||||
ret = self.run_function("cmd.script", [script], args=args, shell="pwsh")
|
||||
self.assertEqual(ret["stdout"], val)
|
||||
|
|
Loading…
Add table
Reference in a new issue