mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-21 20:59:10 +00:00
Fix ruff formatting in test_pfexec.py
This commit is contained in:
parent
47ec4f62d5
commit
192759b85d
1 changed files with 3 additions and 1 deletions
|
|
@ -77,7 +77,9 @@ def test_pfexec_custom_flags(mocker, parser, reset_cli_args):
|
|||
var_options = {}
|
||||
cmd = call_become_plugin(task, var_options, cmd=default_cmd, executable=default_exe)
|
||||
print(cmd)
|
||||
assert re.match(f"""{pfexec_exe} {pfexec_flags} {default_exe} -c 'echo {success}; {default_cmd}'""", cmd) is not None
|
||||
assert (
|
||||
re.match(f"""{pfexec_exe} {pfexec_flags} {default_exe} -c 'echo {success}; {default_cmd}'""", cmd) is not None
|
||||
)
|
||||
|
||||
|
||||
def test_pfexec_varoptions(mocker, parser, reset_cli_args):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue