1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/nxos_config/tests/common
Chris Van Heuveln d69239c440 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
2019-02-28 11:07:03 +05:30
..
backup.yaml Add backup filename and dir path option for config network modules (#50801) 2019-01-24 09:36:16 +05:30
defaults.yaml Nxos restore provider to nxapi tests (#41818) 2018-07-02 09:43:51 -04:00
sanity.yaml Nxos restore provider to nxapi tests (#41818) 2018-07-02 09:43:51 -04:00
save.yaml Nxos restore provider to nxapi tests (#41818) 2018-07-02 09:43:51 -04:00
src_basic.yaml network.py:ActionModule:run: does not honor _handle_src_option failures (#52745) 2019-02-28 11:07:03 +05:30
src_invalid.yaml network.py:ActionModule:run: does not honor _handle_src_option failures (#52745) 2019-02-28 11:07:03 +05:30
src_match_none.yaml Nxos restore provider to nxapi tests (#41818) 2018-07-02 09:43:51 -04:00
sublevel_block.yaml Nxos restore provider to nxapi tests (#41818) 2018-07-02 09:43:51 -04:00
toplevel.yaml Nxos restore provider to nxapi tests (#41818) 2018-07-02 09:43:51 -04:00
toplevel_nonidempotent.yaml Nxos restore provider to nxapi tests (#41818) 2018-07-02 09:43:51 -04:00