diff --git a/tests/integration/helpers/s3_tools.py b/tests/integration/helpers/s3_tools.py index c4f4c3f5aaa..0c3538c3c39 100644 --- a/tests/integration/helpers/s3_tools.py +++ b/tests/integration/helpers/s3_tools.py @@ -40,9 +40,7 @@ def list_s3_objects(minio_client, bucket, prefix=""): prefix_len = len(prefix) return [ obj.object_name[prefix_len:] - for obj in minio_client.list_objects( - bucket, prefix=prefix, recursive=True - ) + for obj in minio_client.list_objects(bucket, prefix=prefix, recursive=True) ] diff --git a/tests/integration/test_storage_delta/test.py b/tests/integration/test_storage_delta/test.py index 8f7349ad709..c76a5251d8d 100644 --- a/tests/integration/test_storage_delta/test.py +++ b/tests/integration/test_storage_delta/test.py @@ -448,7 +448,9 @@ def test_restart_broken(started_cluster): instance.restart_clickhouse() - assert "NoSuchBucket" in instance.query_and_get_error(f"SELECT count() FROM {TABLE_NAME}") + assert "NoSuchBucket" in instance.query_and_get_error( + f"SELECT count() FROM {TABLE_NAME}" + ) minio_client.make_bucket(bucket) diff --git a/tests/integration/test_storage_iceberg/test.py b/tests/integration/test_storage_iceberg/test.py index ee7c20025f4..c4b48ce884c 100644 --- a/tests/integration/test_storage_iceberg/test.py +++ b/tests/integration/test_storage_iceberg/test.py @@ -600,7 +600,9 @@ def test_restart_broken(started_cluster): instance.restart_clickhouse() - assert "NoSuchBucket" in instance.query_and_get_error(f"SELECT count() FROM {TABLE_NAME}") + assert "NoSuchBucket" in instance.query_and_get_error( + f"SELECT count() FROM {TABLE_NAME}" + ) minio_client.make_bucket(bucket)