mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Automatic style fix
This commit is contained in:
parent
12a7d64ef5
commit
ad66e01ace
@ -186,7 +186,8 @@ def test_mysql_client(started_cluster):
|
||||
|
||||
assert (
|
||||
"mysql: [Warning] Using a password on the command line interface can be insecure.\n"
|
||||
"ERROR 516 (00000): default: Authentication failed: password is incorrect, or there is no user with such name" in stderr.decode()
|
||||
"ERROR 516 (00000): default: Authentication failed: password is incorrect, or there is no user with such name"
|
||||
in stderr.decode()
|
||||
)
|
||||
|
||||
code, (stdout, stderr) = started_cluster.mysql_client_container.exec_run(
|
||||
@ -585,7 +586,10 @@ def test_python_client(started_cluster):
|
||||
)
|
||||
|
||||
assert exc_info.value.args[0] == 516
|
||||
assert "default: Authentication failed: password is incorrect, or there is no user with such name" in exc_info.value.args[1]
|
||||
assert (
|
||||
"default: Authentication failed: password is incorrect, or there is no user with such name"
|
||||
in exc_info.value.args[1]
|
||||
)
|
||||
|
||||
client = pymysql.connections.Connection(
|
||||
host=started_cluster.get_instance_ip("node"),
|
||||
|
Loading…
Reference in New Issue
Block a user