mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Fix style check
This commit is contained in:
parent
9a7c71b78e
commit
08b0e3c630
@ -102,7 +102,10 @@ def test_access(cluster):
|
||||
["bash", "-c", f"cat /etc/clickhouse-server/users.d/users.xml"]
|
||||
)
|
||||
node.restart_clickhouse()
|
||||
assert node.query("select collection['key1'] from system.named_collections").strip() == "value1"
|
||||
assert (
|
||||
node.query("select collection['key1'] from system.named_collections").strip()
|
||||
== "value1"
|
||||
)
|
||||
replace_in_users_config(
|
||||
node, "show_named_collections_secrets>1", "show_named_collections_secrets>0"
|
||||
)
|
||||
@ -110,7 +113,10 @@ def test_access(cluster):
|
||||
["bash", "-c", f"cat /etc/clickhouse-server/users.d/users.xml"]
|
||||
)
|
||||
node.restart_clickhouse()
|
||||
assert node.query("select collection['key1'] from system.named_collections").strip() == "[HIDDEN]"
|
||||
assert (
|
||||
node.query("select collection['key1'] from system.named_collections").strip()
|
||||
== "[HIDDEN]"
|
||||
)
|
||||
replace_in_users_config(
|
||||
node, "show_named_collections_secrets>0", "show_named_collections_secrets>1"
|
||||
)
|
||||
@ -118,7 +124,10 @@ def test_access(cluster):
|
||||
["bash", "-c", f"cat /etc/clickhouse-server/users.d/users.xml"]
|
||||
)
|
||||
node.restart_clickhouse()
|
||||
assert node.query("select collection['key1'] from system.named_collections").strip() == "value1"
|
||||
assert (
|
||||
node.query("select collection['key1'] from system.named_collections").strip()
|
||||
== "value1"
|
||||
)
|
||||
|
||||
|
||||
def test_config_reload(cluster):
|
||||
|
Loading…
Reference in New Issue
Block a user