1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Don't test for play.become_pass any longer

This commit is contained in:
Matt Martz 2015-06-06 09:23:28 -05:00
parent bdba807fd1
commit 230be812ba

View file

@ -72,7 +72,6 @@ class TestConnectionInformation(unittest.TestCase):
mock_play.become = True mock_play.become = True
mock_play.become_method = 'mock' mock_play.become_method = 'mock'
mock_play.become_user = 'mockroot' mock_play.become_user = 'mockroot'
mock_play.become_pass = 'mockpass'
mock_play.no_log = True mock_play.no_log = True
mock_play.environment = dict(mock='mockenv') mock_play.environment = dict(mock='mockenv')
@ -86,7 +85,6 @@ class TestConnectionInformation(unittest.TestCase):
self.assertEqual(conn_info.become, True) self.assertEqual(conn_info.become, True)
self.assertEqual(conn_info.become_method, "mock") self.assertEqual(conn_info.become_method, "mock")
self.assertEqual(conn_info.become_user, "mockroot") self.assertEqual(conn_info.become_user, "mockroot")
self.assertEqual(conn_info.become_pass, "mockpass")
mock_task = MagicMock() mock_task = MagicMock()
mock_task.connection = 'mocktask' mock_task.connection = 'mocktask'