Skip to content

Commit

Permalink
Automatic style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
robot-clickhouse committed Sep 27, 2024
1 parent 1e2e724 commit cb9bf8a
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions tests/integration/test_distributed_ddl/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ def test_cluster(request):
yield cluster

instance = cluster.instances["ch1"]
cluster.ddl_check_query(instance, "DROP DATABASE IF EXISTS test ON CLUSTER 'cluster'")
cluster.ddl_check_query(
instance, "DROP DATABASE IF EXISTS test ON CLUSTER 'cluster'"
)
cluster.ddl_check_query(
instance, "DROP DATABASE IF EXISTS test2 ON CLUSTER 'cluster'"
)
Expand Down Expand Up @@ -81,7 +83,8 @@ def test_create_view(test_cluster):
"CREATE MATERIALIZED VIEW test.simple_mat_view ON CLUSTER 'cluster' ENGINE = Memory AS SELECT * FROM system.numbers FORMAT TSV",
)
test_cluster.ddl_check_query(
instance, "DROP TABLE IF EXISTS test.simple_mat_view ON CLUSTER 'cluster' FORMAT TSV"
instance,
"DROP TABLE IF EXISTS test.simple_mat_view ON CLUSTER 'cluster' FORMAT TSV",
)
test_cluster.ddl_check_query(
instance,
Expand Down Expand Up @@ -210,7 +213,9 @@ def test_simple_alters(test_cluster):
"".join(["{}\t{}\n".format(x, x) for x in range(4)])
)

test_cluster.ddl_check_query(instance, "DROP TABLE IF EXISTS merge ON CLUSTER '{cluster}'")
test_cluster.ddl_check_query(
instance, "DROP TABLE IF EXISTS merge ON CLUSTER '{cluster}'"
)
test_cluster.ddl_check_query(
instance, "DROP TABLE IF EXISTS all_merge_32 ON CLUSTER '{cluster}'"
)
Expand Down Expand Up @@ -493,7 +498,8 @@ def test_replicated_without_arguments(test_cluster):
)

test_cluster.ddl_check_query(
instance, "CREATE DATABASE IF NOT EXISTS test_atomic ON CLUSTER cluster ENGINE=Atomic"
instance,
"CREATE DATABASE IF NOT EXISTS test_atomic ON CLUSTER cluster ENGINE=Atomic",
)
assert (
"are supported only for ON CLUSTER queries with Atomic database engine"
Expand Down

0 comments on commit cb9bf8a

Please sign in to comment.