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/units/modules/network/eos
Ricardo Carrillo Cruz c57729944b Fix the eos_banner idempotency (#22413)
The map_config_to_obj calls the run_commands  helper function,
which returns a list of results.
However, the map_params_to_obj return a single string.
Therefore, the comparison between the two datasets could never be equal,
breaking idempotency.
Also, the 'no banner' command should be run on absent only if there's a banner
text set.

Fixes #22194
2017-03-09 12:43:54 +00:00
..
fixtures adds new module eos_system (#20797) 2017-01-28 11:07:51 -05:00
__init__.py refactor eos_eapi module (#20740) 2017-01-27 08:44:57 -05:00
eos_module.py updates eos modules to use socket (#21197) 2017-02-13 20:22:10 -05:00
test_eos_banner.py Fix the eos_banner idempotency (#22413) 2017-03-09 12:43:54 +00:00
test_eos_command.py updates eos modules to use socket (#21197) 2017-02-13 20:22:10 -05:00
test_eos_config.py Remove shebangs from unit tests. 2017-02-27 17:53:10 -08:00
test_eos_eapi.py Remove shebangs from unit tests. 2017-02-27 17:53:10 -08:00
test_eos_system.py adds eos_system integration tests (#22214) 2017-03-02 21:20:17 -06:00
test_eos_user.py updates eos modules to use socket (#21197) 2017-02-13 20:22:10 -05:00