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

Merge pull request #11193 from sivel/no-test-become-pass

Don't test for play.become_pass any longer
This commit is contained in:
Brian Coca 2015-06-06 10:33:24 -04:00
commit 522c1cde9b

View file

@ -72,7 +72,6 @@ class TestConnectionInformation(unittest.TestCase):
mock_play.become = True
mock_play.become_method = 'mock'
mock_play.become_user = 'mockroot'
mock_play.become_pass = 'mockpass'
mock_play.no_log = True
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_method, "mock")
self.assertEqual(conn_info.become_user, "mockroot")
self.assertEqual(conn_info.become_pass, "mockpass")
mock_task = MagicMock()
mock_task.connection = 'mocktask'