mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-19 04:42:37 +00:00
fix test
This commit is contained in:
parent
0a85fc6524
commit
c866e38454
7
tests/queries/0_stateless/03279_with_clickhouse_driver.py
Normal file → Executable file
7
tests/queries/0_stateless/03279_with_clickhouse_driver.py
Normal file → Executable file
@ -1,4 +1,7 @@
|
||||
import sys
|
||||
#!/usr/bin/env python3
|
||||
# Tags: no-fasttest
|
||||
|
||||
import os
|
||||
from clickhouse_driver import Client
|
||||
|
||||
|
||||
@ -11,5 +14,5 @@ def run(database):
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
database = sys.argv[1]
|
||||
database = os.environ["CLICKHOUSE_DATABASE"]
|
||||
run(database)
|
||||
|
@ -1,8 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# Tags: no-fasttest
|
||||
|
||||
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
# shellcheck source=../shell_config.sh
|
||||
. "$CURDIR"/../shell_config.sh
|
||||
|
||||
python3 03279_with_clickhouse_driver.py $CLICKHOUSE_DATABASE
|
Loading…
Reference in New Issue
Block a user