Fix black check

This commit is contained in:
kssenii 2023-06-09 13:13:33 +02:00
parent 6c48aba693
commit 5cf29fbf76
3 changed files with 13 additions and 3 deletions

View File

@ -11,7 +11,11 @@ CONFIG_FILES = ["configs/remote_servers.xml", "configs/named_collections.xml"]
USER_CONFIGS = ["configs/users.xml"] USER_CONFIGS = ["configs/users.xml"]
cluster = ClickHouseCluster(__file__) cluster = ClickHouseCluster(__file__)
instance = cluster.add_instance( instance = cluster.add_instance(
"instance", main_configs=CONFIG_FILES, user_configs=USER_CONFIGS, with_mysql=True, dictionaries=DICTS "instance",
main_configs=CONFIG_FILES,
user_configs=USER_CONFIGS,
with_mysql=True,
dictionaries=DICTS,
) )
create_table_mysql_template = """ create_table_mysql_template = """

View File

@ -8,7 +8,10 @@ from psycopg2.extensions import ISOLATION_LEVEL_AUTOCOMMIT
cluster = ClickHouseCluster(__file__) cluster = ClickHouseCluster(__file__)
node1 = cluster.add_instance( node1 = cluster.add_instance(
"node1", main_configs=["configs/named_collections.xml"], user_configs=["configs/users.xml"], with_postgres=True "node1",
main_configs=["configs/named_collections.xml"],
user_configs=["configs/users.xml"],
with_postgres=True,
) )
postgres_table_template = """ postgres_table_template = """

View File

@ -7,7 +7,10 @@ from helpers.postgres_utility import get_postgres_conn
cluster = ClickHouseCluster(__file__) cluster = ClickHouseCluster(__file__)
node1 = cluster.add_instance( node1 = cluster.add_instance(
"node1", main_configs=["configs/named_collections.xml"], user_configs=["configs/users.xml"], with_postgres=True "node1",
main_configs=["configs/named_collections.xml"],
user_configs=["configs/users.xml"],
with_postgres=True,
) )
node2 = cluster.add_instance( node2 = cluster.add_instance(
"node2", "node2",