summaryrefslogtreecommitdiff
path: root/test/units
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2016-09-21 13:58:35 -0700
committerGitHub <noreply@github.com>2016-09-21 13:58:35 -0700
commit39c5c558f82a0e74e01ae14f3990c7d54c91a506 (patch)
tree3218687ff440a8e8011f6f36831e42dace4e4654 /test/units
parent23651b657e53f9b65c8a157bd370027d5f9b7abb (diff)
downloadansible-39c5c558f82a0e74e01ae14f3990c7d54c91a506.tar.gz
Switch tests from sudo to become. (#17694)
Diffstat (limited to 'test/units')
-rw-r--r--test/units/playbook/test_play.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/units/playbook/test_play.py b/test/units/playbook/test_play.py
index bb47ee418b..eb96248884 100644
--- a/test/units/playbook/test_play.py
+++ b/test/units/playbook/test_play.py
@@ -50,8 +50,8 @@ class TestPlay(unittest.TestCase):
gather_facts=False,
connection='local',
remote_user="root",
- sudo=True,
- sudo_user="testing",
+ become=True,
+ become_user="testing",
))
def test_play_with_user_conflict(self):