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.
ansible/test/integration/targets/nxos_config/tests/common
Chris Van Heuveln 2985d32e29 network.py:ActionModule:run: does not honor _handle_src_option failures (#52745)
* network.py:ActionModule:run: does not honor _handle_src_option failures

PR #50301 moved template error handling out of run() and into its
own method in `_handle_src_option`; however, after the change run()
ignores the return value so any errors are ignored.

Reproduceable with `nxos_config/tests/common/src_invalid.yaml`

Verified fix with `nxos_config/tests/common/src_*` tests.

Ref:
71113ee291 (diff-7477bf046013758366cc85b06f90709aR43)

* nxos_config/tests/common/src_basic: Updated to test with src

This test was not actually testing with `src:` as it should have.

* Revert 412d7e change to plugins/action/network.py

PR #52912 fixed this already.

* nxos_config: fix src_invalid test

(cherry picked from commit d69239c440)
6 years ago
..
backup.yaml Nxos restore provider to nxapi tests (#41818) 7 years ago
defaults.yaml Nxos restore provider to nxapi tests (#41818) 7 years ago
sanity.yaml Nxos restore provider to nxapi tests (#41818) 7 years ago
save.yaml Nxos restore provider to nxapi tests (#41818) 7 years ago
src_basic.yaml network.py:ActionModule:run: does not honor _handle_src_option failures (#52745) 6 years ago
src_invalid.yaml network.py:ActionModule:run: does not honor _handle_src_option failures (#52745) 6 years ago
src_match_none.yaml Nxos restore provider to nxapi tests (#41818) 7 years ago
sublevel_block.yaml Nxos restore provider to nxapi tests (#41818) 7 years ago
toplevel.yaml Nxos restore provider to nxapi tests (#41818) 7 years ago
toplevel_nonidempotent.yaml Nxos restore provider to nxapi tests (#41818) 7 years ago