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/pep8
Pilou 460d932aa8 postgresql_user: fix bugs related to 'expires' option (#23862)
* Factorize tests related to no_password_change using an include task

* Refactor: deduplicate tasks

* postgresql_user: test 'expires' parameter

* Change 'valid until' even it's the only updated field

* value is changed when another value is provided

* value isn't returned when unset

* Remove unused variable

* psycopg2.extras.DictRow is able to handle comparison

* postgresql_user: simplify helper method

* postgresql_user: define variable just before using it

* Fix comparison between user input and applied configuration

* new test: adding an invalid attribute

* Refactor, add cleaning task

* Check that using same attribute a 2nd time does nothing

* Always try to remove created user

* postgresql_user: fix pep8
2017-06-11 14:48:39 -07:00
..
current-ignore.txt Swap pep8 current to legacy (#22891) 2017-03-23 13:16:55 -05:00
legacy-files.txt postgresql_user: fix bugs related to 'expires' option (#23862) 2017-06-11 14:48:39 -07:00
legacy-ignore.txt Swap pep8 current to legacy (#22891) 2017-03-23 13:16:55 -05:00
skip.txt Don't skip action/__init__.py (#22911) 2017-03-23 13:40:02 -05:00