mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dc23667cc2
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
|
8 years ago | |
---|---|---|
.. | ||
cli | ||
contrib | ||
errors | 8 years ago | |
executor | 8 years ago | |
inventory | 8 years ago | |
inventory_test_data/group_vars | ||
mock | 8 years ago | |
module_utils | 8 years ago | |
modules | ||
parsing | 8 years ago | |
playbook | 8 years ago | |
plugins | 8 years ago | |
template | 8 years ago | |
utils | ||
vars | 8 years ago | |
__init__.py | 8 years ago |