mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Track local_action internally to prevent it from being overridden
Fixes #12053
This commit is contained in:
@@ -112,7 +112,7 @@ class TestModArgsDwim(unittest.TestCase):
|
||||
mod, args, connection = m.parse()
|
||||
self._debug(mod, args, connection)
|
||||
self.assertEqual(mod, 'copy')
|
||||
self.assertEqual(args, dict(src='a', dest='b'))
|
||||
self.assertEqual(args, dict(src='a', dest='b', _local_action=True))
|
||||
self.assertIs(connection, 'local')
|
||||
|
||||
def test_multiple_actions(self):
|
||||
|
||||
Reference in New Issue
Block a user