Matt Clay
3033fd96b0
Move unit test compat code out of lib/ansible/
. ( #46996 )
...
* Move ansible.compat.tests to test/units/compat/.
* Fix unit test references to ansible.compat.tests.
* Move builtins compat to separate file.
* Fix classification of test/units/compat/ dir.
2018-10-12 20:01:14 -07:00
Kedar Kekan
0f692f1fe7
iosxr_user refactor for cliconf and netconf ( #34892 )
...
* * refactor iosxr_user for cliconf and netconf
(cherry picked from commit 5d0994ef598f1601fca00a0c1eff4ebb05ebbf1b)
* * Purge and units test changes
2018-01-17 07:28:58 -07:00
Pilou
a5c9726502
Unit tests: share common code ( #31456 )
...
* move set_module_args to units.modules.utils
* unit tests: reuse set_module_args
* unit tests: mock exit/fail_json in module.utils.ModuleTestCase
* unit tests: use module.utils.ModuleTestCase
* unit tests: fix 'import shadowed by loop variable'
2017-11-17 09:17:07 -08:00
David Newswanger
b818e986b6
Change network *_user modules to use configured_password to set a users password ( #28187 )
...
* WIP, update eos_user args
* refactor password for ios_user
* add eos tests, fix ios tests
* fixed password check
* refactor iosxr_user password
* fixed password arg for nxos
* [WIP] fix vyos_user password
* fix vyos tests
* update docs for net_user
* fix typo
* fix eos tests
* add warning when attempting to use password arg
* fix sanity/unit tests
* fix eos unit tests
* fix vyos_user aggregate
* fix typo in eos documentation string
* re add configured_password to vyos tests after rebase
2017-08-17 19:06:44 +05:30
Ricardo Carrillo Cruz
3a3bdde869
Fix multiple code and test issues on iosxr ( #27267 )
...
* Fix multiple code and test issues on iosxr
It passes the integration tests now.
Fixes #27123
* Fix pep8 issue
* Fix unit tests
2017-07-25 17:21:53 +02:00
Trishna Guha
44687bb917
Add iosxr_user implementation module ( #25615 )
...
* Add iosxr_user implementation module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* iosxr_user Integration test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* iosxr_user Unit test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Modify integration test with idempotent case
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-06-15 22:07:03 +05:30