mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 10:22:10 +00:00
fix black
This commit is contained in:
parent
c239adec36
commit
bd74ac343b
@ -198,7 +198,9 @@ def test_remote_query_user_does_not_exist_locally(ldap_cluster):
|
|||||||
instance2.query("INSERT INTO test_table VALUES (123)")
|
instance2.query("INSERT INTO test_table VALUES (123)")
|
||||||
instance2.query("GRANT SELECT ON default.test_table TO non_local")
|
instance2.query("GRANT SELECT ON default.test_table TO non_local")
|
||||||
|
|
||||||
result = instance1.query("SELECT * FROM remote('instance2', 'default.test_table', 'non_local')")
|
result = instance1.query(
|
||||||
|
"SELECT * FROM remote('instance2', 'default.test_table', 'non_local')"
|
||||||
|
)
|
||||||
assert result.strip() == "123"
|
assert result.strip() == "123"
|
||||||
|
|
||||||
instance2.query("DROP USER IF EXISTS non_local")
|
instance2.query("DROP USER IF EXISTS non_local")
|
||||||
|
Loading…
Reference in New Issue
Block a user