Skip to content

Commit

Permalink
Fix black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
danipozo committed Jan 8, 2024
1 parent b42eaf6 commit d8f4b5f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/integration/test_mask_sensitive_info/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand All @@ -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]

Expand All @@ -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()

Expand Down

0 comments on commit d8f4b5f

Please sign in to comment.