You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/units
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.
9 years ago
..
cli Legacy pep8 updates for setup.py and tests 9 years ago
contrib PEP 8 W291 whitespace cleanup. 9 years ago
errors Legacy pep8 updates for setup.py and tests 9 years ago
executor Legacy pep8 updates for setup.py and tests 9 years ago
inventory Add lots of test cases to inventory/test_host.py (#17827) 9 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 11 years ago
mock Legacy pep8 updates for setup.py and tests 9 years ago
module_utils Postgres ssl mode prefer (#21498) 9 years ago
modules refactors junos modules to support persistent socket connections (#21365) 9 years ago
parsing Legacy pep8 updates for setup.py and tests 9 years ago
playbook Legacy pep8 updates for setup.py and tests 9 years ago
plugins Fix test failures if 'future' package is installed (#15005) 9 years ago
template Don't check for var._obj in template._clean_data (#20868) 9 years ago
utils PEP 8 indent cleanup. (#20800) 9 years ago
vars PEP 8 indent cleanup. (#20800) 9 years ago
__init__.py Add empty-init code-smell script. (#18406) 9 years ago