From 04b86df815594601c931de2c9af093500704c112 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Mon, 17 Oct 2016 14:41:23 -0400 Subject: [PATCH] updated pbrun test to match expected output --- test/units/playbook/test_play_context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/units/playbook/test_play_context.py b/test/units/playbook/test_play_context.py index 109d06934f..1ffd79fbe6 100644 --- a/test/units/playbook/test_play_context.py +++ b/test/units/playbook/test_play_context.py @@ -157,7 +157,7 @@ class TestPlayContext(unittest.TestCase): play_context.become_method = 'pbrun' cmd = play_context.make_become_cmd(cmd=default_cmd, executable="/bin/bash") - self.assertEqual(cmd, """%s -b %s -u %s 'echo %s; %s'""" % (pbrun_exe, pbrun_flags, play_context.become_user, play_context.success_key, default_cmd)) + self.assertEqual(cmd, """%s %s -u %s 'echo %s; %s'""" % (pbrun_exe, pbrun_flags, play_context.become_user, play_context.success_key, default_cmd)) play_context.become_method = 'pfexec' cmd = play_context.make_become_cmd(cmd=default_cmd, executable="/bin/bash")