mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Switch tests from sudo to become. (#17694)
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user