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
Ted Timmons 5d9df86b42 Postgres ssl mode prefer (#21498)
* refactor postgres,
* adds a basic unit test module
* first step towards a common utils module
* set postgresql_db doc argument defaults to what the code actually uses

* unit tests that actually test a missing/found psycopg2, no dependency needed

* add doc fragments, use common args, ansible2ify the imports

* update dict

* add AnsibleModule import

* mv AnsibleModule import to correct file

* restore some database utils we need

* rm some more duplicated pg doc fragments

* change ssl_mode from disable to prefer, add update docs

* use LibraryError pattern for import verification

per comments on #21435. basically LibraryError and touching up its usage in pg_db and the tests.
2017-02-16 11:29:43 -08:00
..
basic Ensure ssh hostkey checks respect server port (#20840) 2017-02-15 11:47:57 -08:00
ec2 Skip test_aws.py if boto3/botocore are missing (#17814) 2016-10-13 13:19:40 -07:00
fixtures Legacy pep8 updates for setup.py and tests 2017-02-11 16:04:52 -08: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 Legacy pep8 updates for setup.py and tests 2017-02-11 16:04:52 -08:00
test_database.py Revert "Update galaxy and database unit tests." 2017-02-09 15:19:01 -08:00
test_distribution_version.py Legacy pep8 updates for setup.py and tests 2017-02-11 16:04:52 -08:00
test_facts.py Legacy pep8 updates for setup.py and tests 2017-02-11 16:04:52 -08:00
test_known_hosts.py Ensure ssh hostkey checks respect server port (#20840) 2017-02-15 11:47:57 -08:00
test_postgresql.py Postgres ssl mode prefer (#21498) 2017-02-16 11:29:43 -08:00
test_text.py PEP 8 indent cleanup. (#20800) 2017-01-29 07:28:53 +00:00