From 14f061d5eaa30cc09d368d1a933f8e4dad5d7e7f Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Wed, 2 Sep 2015 10:30:00 -0400 Subject: [PATCH] fixed become tests --- test/units/playbook/test_play_context.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/units/playbook/test_play_context.py b/test/units/playbook/test_play_context.py index cfa2705fa93..ac47d06f683 100644 --- a/test/units/playbook/test_play_context.py +++ b/test/units/playbook/test_play_context.py @@ -115,9 +115,9 @@ class TestPlayContext(unittest.TestCase): default_cmd = "/bin/foo" default_exe = "/bin/bash" - sudo_exe = C.DEFAULT_SUDO_EXE + sudo_exe = C.DEFAULT_SUDO_EXE or 'sudo' sudo_flags = C.DEFAULT_SUDO_FLAGS + " -n " - su_exe = C.DEFAULT_SU_EXE + su_exe = C.DEFAULT_SU_EXE or 'su' su_flags = C.DEFAULT_SU_FLAGS pbrun_exe = 'pbrun' pbrun_flags = ''