mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
fix style
This commit is contained in:
parent
84c97faf41
commit
215802e74e
@ -20,17 +20,17 @@ def test_system_detached_tables():
|
||||
|
||||
test_table_uuid = node.query(
|
||||
"SELECT uuid FROM system.tables WHERE table='test_table'"
|
||||
).rstrip('\n')
|
||||
).rstrip("\n")
|
||||
test_table_metadata_path = node.query(
|
||||
"SELECT metadata_path FROM system.tables WHERE table='test_table'"
|
||||
).rstrip('\n')
|
||||
).rstrip("\n")
|
||||
|
||||
test_table_perm_uuid = node.query(
|
||||
"SELECT uuid FROM system.tables WHERE table='test_table_perm'"
|
||||
).rstrip('\n')
|
||||
).rstrip("\n")
|
||||
test_table_perm_metadata_path = node.query(
|
||||
"SELECT metadata_path FROM system.tables WHERE table='test_table_perm'"
|
||||
).rstrip('\n')
|
||||
).rstrip("\n")
|
||||
|
||||
assert "" == node.query("SELECT * FROM system.detached_tables")
|
||||
|
||||
@ -54,4 +54,7 @@ def test_system_detached_tables():
|
||||
node.restart_clickhouse()
|
||||
|
||||
result = node.query(querry)
|
||||
assert result == f"('default','test_table_perm',1,'{test_table_perm_uuid}','{test_table_perm_metadata_path}')"
|
||||
assert (
|
||||
result
|
||||
== f"('default','test_table_perm',1,'{test_table_perm_uuid}','{test_table_perm_metadata_path}')"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user