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/module_utils
Toshio Kuratomi 1609afbd12 Unittests for some of module_common.py (#20812)
* Unittests for some of module_common.py
* Port test_run_command to use pytest-mock

The use of addCleanup(patch.stopall) from the unittest idiom was
conflicting with the pytest-mock idiom of closing all patches
automatically.  Switching to pytest-mock ensures that the patches are
closed and removing the stopall stops the conflict.
2017-01-30 13:51:27 -08:00
..
basic Unittests for some of module_common.py (#20812) 2017-01-30 13:51:27 -08:00
ec2 Skip test_aws.py if boto3/botocore are missing (#17814) 2016-10-13 13:19:40 -07:00
gcp PEP 8 whitespace cleanup. (#20783) 2017-01-27 15:45:23 -08:00
json_utils PEP 8 indent cleanup. (#20800) 2017-01-29 07:28:53 +00:00
__init__.py Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
test_basic.py PEP 8 whitespace cleanup. (#20783) 2017-01-27 15:45:23 -08:00
test_database.py Switch tests to pytest and ansible-test. 2017-01-11 12:34:59 -08:00
test_distribution_version.py PEP 8 indent cleanup. (#20800) 2017-01-29 07:28:53 +00:00
test_eos.py updates eos shared modules (#20738) 2017-01-26 23:33:07 -05:00
test_facts.py Fix for run_command tests now that it returns native strings 2016-10-03 18:45:28 -07:00
test_text.py PEP 8 indent cleanup. (#20800) 2017-01-29 07:28:53 +00:00