Automatic style fix

This commit is contained in:
robot-clickhouse 2024-11-06 20:05:08 +00:00
parent 1c3fcfa355
commit ca3dfe5d8e
2 changed files with 15 additions and 9 deletions

View File

@ -1463,9 +1463,16 @@ class ClickHouseCluster:
)
return self.base_minio_cmd
def setup_iceberg_catalog_cmd(self, instance, env_variables, docker_compose_yml_dir):
def setup_iceberg_catalog_cmd(
self, instance, env_variables, docker_compose_yml_dir
):
self.base_cmd.extend(
["--file", p.join(docker_compose_yml_dir, "docker_compose_iceberg_rest_catalog.yml")]
[
"--file",
p.join(
docker_compose_yml_dir, "docker_compose_iceberg_rest_catalog.yml"
),
]
)
self.base_iceberg_catalog_cmd = self.compose_cmd(
"--env-file",
@ -1931,7 +1938,9 @@ class ClickHouseCluster:
self.setup_minio_cmd(instance, env_variables, docker_compose_yml_dir)
)
cmds.append(
self.setup_iceberg_catalog_cmd(instance, env_variables, docker_compose_yml_dir)
self.setup_iceberg_catalog_cmd(
instance, env_variables, docker_compose_yml_dir
)
)
if with_azurite and not self.with_azurite:

View File

@ -4,15 +4,12 @@ import logging
import os
import time
import uuid
import requests
import pytest
import requests
from helpers.cluster import ClickHouseCluster, ClickHouseInstance, is_arm
from helpers.s3_tools import (
get_file_contents,
list_s3_objects,
prepare_s3_bucket,
)
from helpers.s3_tools import get_file_contents, list_s3_objects, prepare_s3_bucket
BASE_URL = "http://rest:8181/v1"
BASE_URL_LOCAL = "http://localhost:8181/v1"