mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fixed become test to match new expected output
This commit is contained in:
parent
1d8ccfb99f
commit
aa6486778f
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ class TestConnectionInformation(unittest.TestCase):
|
|||
|
||||
conn_info.become_method = 'pbrun'
|
||||
(cmd, prompt, key) = conn_info.make_become_cmd(cmd=default_cmd, executable="/bin/bash")
|
||||
self.assertEqual(cmd, """%s -c '%s -b -l %s -u %s '"'"'echo %s; %s'"'"''""" % (default_exe, pbrun_exe, pbrun_flags, conn_info.become_user, key, default_cmd))
|
||||
self.assertEqual(cmd, """%s -c '%s -b %s -u %s '"'"'echo %s; %s'"'"''""" % (default_exe, pbrun_exe, pbrun_flags, conn_info.become_user, key, default_cmd))
|
||||
|
||||
conn_info.become_method = 'pfexec'
|
||||
(cmd, prompt, key) = conn_info.make_become_cmd(cmd=default_cmd, executable="/bin/bash")
|
||||
|
|
Loading…
Reference in a new issue