community.mysql/plugins/modules
Steve Teahan 06907715d7
mysql_user: fixed encrypted option for MySQL 8.0 and test coverage (#79)
* mysql_user: fixed encrypted option for MySQL 8.0 and test coverage

The purpose of this change was originally to expand test coverage to
unblock #76, but an issue was detected with the encrypted parameter on
MySQL 8.0 in the process of writing the tests. Additionally,
user_password_update_test.yml had been disabled at some point, so I
opted to replace it with two new files that will focus on the password
and plugin auth paths.

* Updated tests to cover a couple of missing branches

* Skip tests that rely on sha256_password if pymysql < 0.9

* Cover the case where pymysql isn't installed for plugin tests

* Added better plugin auth checking to tests and other minor changes

* Fixed version detection to explicitly handle MariaDB

* Removed unneeded import from previous change

* Remove whitespace that was introduced by change that was removed

* Added unit tests for missing coverage
2021-01-14 08:27:05 +03:00
..
mysql_db.py mysql_db: fix false warning related to unsafe_login_password (#74) 2020-12-18 10:56:49 +03:00
mysql_info.py mysql_info: fix documentation (#67) 2020-11-26 13:12:51 +03:00
mysql_query.py mysql_query, mysql_user: simple refactoring of type checks (#58) 2020-11-06 13:12:07 +03:00
mysql_replication.py mysql_replication: fix crashes caused by deprecated terminology (#71) 2020-12-18 11:17:18 +03:00
mysql_user.py mysql_user: fixed encrypted option for MySQL 8.0 and test coverage (#79) 2021-01-14 08:27:05 +03:00
mysql_variables.py mysql_variables: fix documentation (#66) 2020-11-26 13:12:31 +03:00