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/sanity
Adrian Likins 261c40bac7 Fix azure module use of module_utils.facts (#25318)
Module was importing '*' from facts to get to TimeoutError
but that has moved to facts.timeout, so import is updated.

Also rm old style imports to new style imports at the start
of the module.

'signal' py module was used and referenced but never imported,
presumably it was using the 'signal' previously imported into
module_utils.facts. Now imported directly.

'AnsibleModule' was also from a * import, so now imported directly.

A ref to 'module' was in _delete_disks_when_detached(), so now it
is updated to raise an AzureException() with its message, and
let its caller catch it and call module.fail_json()
2017-07-11 14:07:20 -04:00
..
ansible-doc Remove remnants of obsolete fireball mode. 2016-12-09 16:56:34 -07:00
code-smell avoid doing cmp on .git 2017-07-03 15:15:49 -04:00
pep8 Fix azure module use of module_utils.facts (#25318) 2017-07-11 14:07:20 -04:00
pylint Fix var precedence check to support python 3. (#23552) 2017-04-13 00:07:40 -07:00
rstcheck Add rstcheck to ansible-test and correct issues. (#23550) 2017-04-13 10:28:52 -07:00
shellcheck Disable newer shellcheck tests which don't pass. 2017-02-27 22:31:47 -08:00
validate-modules Fix test for missing __init__.py for modules. 2017-06-22 12:19:25 -07:00