ansible/test/units/plugins
Peter Sprygada dc23667cc2 add back reverted change to network_cli (#18761)
This adds back the change to the network_cli plugin.  Ths change adds
the ensure_connect decorator to the open_shell() method to make sure
the connection is valid before trying to open a shell.

The issue was due to the addition of the decorator that will call
_connect() when there is no connection.  The _connect() method should
have been mocked in the test case.  This commit fixes the test
case as well

Change was originally reverted in c414ded69a
2016-12-05 21:42:09 -05:00
..
action Mcsalgado's change to use shlex.quote instead of pipes.quote (#18534) 2016-11-17 13:18:29 -08:00
cache Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
callback More test coverage for plugins/callback/__init__ (#18020) 2016-11-29 10:40:46 -05:00
connection add back reverted change to network_cli (#18761) 2016-12-05 21:42:09 -05:00
filter Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
inventory Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
lookup Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
shell Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
strategy Reworking iterator logic regarding failed states during always 2016-11-16 10:21:46 -06:00
vars Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
__init__.py Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
test_plugins.py Fix ziploader for the cornercase of ansible invoking ansible. 2016-04-29 08:47:49 -07:00