Closed gone-for-coding closed 2 months ago
@gone-for-coding hello, thanks a lot for reporting the issue! I've just publish 3.6.1 with the comment moved out from the wrong position, please upgrade and try again, thanks
@Andersson007 wow that was a quick fix. Everything looking good now. Thanks a lot!
SUMMARY
The comment https://github.com/ansible-collections/community.postgresql/commit/aa8ddef71e2e25babdb47c8ae13d1348b46a8cad#diff-40cad2763ec8aa722046788c29c9ef0f9dcfcbdcc5ca34cbaaaca2fbdbe4ed95R54-R56 should not be placed in an assert statement as it breaks pre-compilation with python -m compielall.
ISSUE TYPE
COMPONENT NAME
tests/unit/plugins/modules/test_postgresql_user.py
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
Install version 3.6.0 of the collection and pre-compile all files.
EXPECTED RESULTS
No errors.
ACTUAL RESULTS