test: minor fix

This commit is contained in:
Adrien Waksberg 2021-08-22 15:59:49 +02:00 committed by Adrien Waksberg
parent b9070661f9
commit 611d8234ad

View file

@ -42,7 +42,7 @@ def test_root_user(host):
def test_grant_access(host):
result = host.check_output('mysql -uroot -psecret -e "show grants for toto@\'%\'"')
assert "GRANT ALL PRIVILEGES ON `test`.* TO 'toto'@'%'" in result
assert "GRANT ALL PRIVILEGES ON `test`.* TO `toto`@`%`" in result
def test_logbin_enabled(host):
result = host.check_output('mysql -uroot -psecret -e "show variables where variable_name = \'log_bin\'"')