Fix sanity

This commit is contained in:
Laurent Indermuehle 2024-04-12 15:13:43 +02:00
parent e98dd124b6
commit c70a18ddda
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09
2 changed files with 6 additions and 6 deletions

View file

@ -240,8 +240,8 @@ users_info:
"host": "host.com", "host": "host.com",
"plugin": "mysql_native_password", "plugin": "mysql_native_password",
"priv": "db1.*:SELECT/db2.*:SELECT", "priv": "db1.*:SELECT/db2.*:SELECT",
"resource_limits": { "MAX_USER_CONNECTIONS": 100 } "resource_limits": { "MAX_USER_CONNECTIONS": 100 },
"tls_requires": {"SSL": null} } "tls_requires": { "SSL": null } }
version_added: '3.8.0' version_added: '3.8.0'
engines: engines:
description: Information about the server's storage engines. description: Information about the server's storage engines.

View file

@ -16,10 +16,10 @@ from ansible_collections.community.mysql.plugins.modules.mysql_info import MySQL
@pytest.mark.parametrize( @pytest.mark.parametrize(
'suffix,cursor_output,server_implementation,user_implementation', 'suffix,cursor_output,server_implementation,user_implementation',
[ [
('mysql', '5.5.1-mysql', 'mysql','mysql'), ('mysql', '5.5.1-mysql', 'mysql', 'mysql'),
('log', '5.7.31-log', 'mysql','mysql'), ('log', '5.7.31-log', 'mysql', 'mysql'),
('mariadb', '10.5.0-mariadb', 'mariadb','mariadb'), ('mariadb', '10.5.0-mariadb', 'mariadb', 'mariadb'),
('', '8.0.22', 'mysql','mysql'), ('', '8.0.22', 'mysql', 'mysql'),
] ]
) )
def test_get_info_suffix(suffix, cursor_output, server_implementation, user_implementation): def test_get_info_suffix(suffix, cursor_output, server_implementation, user_implementation):