mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
fix black
This commit is contained in:
parent
6c3a5871ba
commit
2a63b86796
@ -18,6 +18,7 @@ client = cluster.add_instance(
|
|||||||
"clickhouse-client",
|
"clickhouse-client",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(scope="module")
|
@pytest.fixture(scope="module")
|
||||||
def started_cluster():
|
def started_cluster():
|
||||||
global cluster
|
global cluster
|
||||||
@ -44,8 +45,8 @@ def test_host_regexp_multiple_ptr_v4(started_cluster):
|
|||||||
|
|
||||||
setup_ch_server(dns_server_ip)
|
setup_ch_server(dns_server_ip)
|
||||||
|
|
||||||
for i in range(0, 300):
|
for _ in range(0, 300):
|
||||||
response = client.query("select reverseDNSQuery('2001:4860:4860::8888')")
|
response = client.query("select reverseDNSQuery('2001:4860:4860::8888')")
|
||||||
assert(response == "['dns.google']\n")
|
assert response == "['dns.google']\n"
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user