Files
community.general/test/integration/targets
Pilou 016cd0691c alternatives: handle absent link, add integration tests (#27967)
* alternatives: add integration tests

* alternatives: handle absent link (fix AttributeError)

Error occurred at least on Debian Stretch and OpenSuse 42.2:
Traceback (most recent call last):
  File "/tmp/ansible_RY6X41/ansible_module_alternatives.py", line 161, in <module>
    main()
  File "/tmp/ansible_RY6X41/ansible_module_alternatives.py", line 113, in main
    current_path = current_path_regex.search(display_output).group(1)
AttributeError: 'NoneType' object has no attribute 'group'

update-alternatives stdout sample:
dummy - manual mode
  link best version is /usr/bin/dummy1
  link currently absent
  link dummy is /usr/bin/dummy

* alternatives: PEP 8 fixes

* alternatives: fix copyright in integration tests

* alternatives: nested loops handle more than 2 items

Thanks to Michael Scherer (@mscherer) for pointing that.

* alternatives: enable integration tests
2017-08-16 10:35:56 -04:00
..
2017-05-30 18:05:19 +01:00
2017-07-28 21:50:09 +05:30
2017-07-28 17:09:04 +05:30
2017-08-15 23:12:08 -07:00
2017-07-28 10:57:16 -07:00
2017-08-14 11:58:09 -04:00
2017-08-15 12:08:55 -04:00
2017-08-08 11:56:03 -07:00
2017-08-09 16:36:39 -04:00
2017-02-15 11:14:03 -08:00
2017-06-16 11:22:20 +01:00
2017-06-01 14:50:12 -07:00
2017-07-10 11:51:46 -07:00
2016-12-13 13:51:13 -05:00
2017-07-28 10:57:16 -07:00
2017-07-28 10:57:16 -07:00