mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
Remove reload from arg related tests. Changes to how ziploader passes args mean we don't need reload anymore. (#15782)
This commit is contained in:
parent
ddd9f92255
commit
c730af5dc2
5 changed files with 44 additions and 58 deletions
|
@ -67,7 +67,7 @@ class TestAnsibleModuleRunCommand(unittest.TestCase):
|
|||
self.stdin_swap = swap_stdin_and_argv(stdin_data=args)
|
||||
self.stdin_swap.__enter__()
|
||||
|
||||
reload(basic)
|
||||
basic._ANSIBLE_ARGS = None
|
||||
self.module = AnsibleModule(argument_spec=dict())
|
||||
self.module.fail_json = MagicMock(side_effect=SystemExit)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue