mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
tests/clickhouse-test: apply black
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
parent
1a67740cd3
commit
8937785551
@ -883,7 +883,7 @@ class TestCase:
|
|||||||
"test": self.case_file,
|
"test": self.case_file,
|
||||||
"stdout": self.stdout_file,
|
"stdout": self.stdout_file,
|
||||||
"stderr": self.stderr_file,
|
"stderr": self.stderr_file,
|
||||||
"secure": "--secure" if args.secure else ""
|
"secure": "--secure" if args.secure else "",
|
||||||
}
|
}
|
||||||
|
|
||||||
# >> append to stderr (but not stdout since it is not used there),
|
# >> append to stderr (but not stdout since it is not used there),
|
||||||
@ -1218,7 +1218,9 @@ class TestSuite:
|
|||||||
try:
|
try:
|
||||||
return int(clickhouse_execute(args, "EXISTS TABLE test.hits"))
|
return int(clickhouse_execute(args, "EXISTS TABLE test.hits"))
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print("Cannot check if dataset is available, assuming it's not: ", str(e))
|
print(
|
||||||
|
"Cannot check if dataset is available, assuming it's not: ", str(e)
|
||||||
|
)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
base_dir = os.path.abspath(args.queries)
|
base_dir = os.path.abspath(args.queries)
|
||||||
|
Loading…
Reference in New Issue
Block a user