From d8f4b5fd13bebdf4af160c99d16be69df74966e2 Mon Sep 17 00:00:00 2001 From: Dani Pozo Date: Mon, 8 Jan 2024 12:47:58 +0100 Subject: [PATCH] Fix black formatting --- tests/integration/test_mask_sensitive_info/test.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/integration/test_mask_sensitive_info/test.py b/tests/integration/test_mask_sensitive_info/test.py index 26a0e080b236..ec34c181371d 100644 --- a/tests/integration/test_mask_sensitive_info/test.py +++ b/tests/integration/test_mask_sensitive_info/test.py @@ -132,7 +132,7 @@ def test_backup_table(): setup_queries = [ "CREATE TABLE backup_test (x int) ENGINE = MergeTree ORDER BY x", - "INSERT INTO backup_test SELECT * FROM numbers(10)" + "INSERT INTO backup_test SELECT * FROM numbers(10)", ] endpoints_with_credentials = [ @@ -150,10 +150,12 @@ def make_test_case(endpoint_specs): # Run ASYNC so it returns the backup id return ( f"BACKUP TABLE backup_test TO {endpoint_specs[0]} ASYNC", - f"BACKUP TABLE backup_test TO {endpoint_specs[1]} SETTINGS async=1, base_backup={endpoint_specs[0]}" + f"BACKUP TABLE backup_test TO {endpoint_specs[1]} SETTINGS async=1, base_backup={endpoint_specs[0]}", ) - test_cases = [make_test_case(endpoint_spec) for endpoint_spec in endpoints_with_credentials] + test_cases = [ + make_test_case(endpoint_spec) for endpoint_spec in endpoints_with_credentials + ] for base_query, inc_query in test_cases: node.query_and_get_answer_with_error(base_query)[0] @@ -168,6 +170,7 @@ def make_test_case(endpoint_specs): assert password not in base_backup_name assert password not in name + def test_create_table(): password = new_password()