mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 17:20:50 +00:00
Fixed test codestyle
This commit is contained in:
parent
5c272df15f
commit
31a422fdff
@ -1,7 +1,10 @@
|
||||
<yandex>
|
||||
<remote_url_allow_hosts>
|
||||
<remote_url_allow_hosts>
|
||||
|
||||
<host>host:80</host>
|
||||
|
||||
<host_regexp>^[a-z]*\.ru$</host_regexp>
|
||||
|
||||
</remote_url_allow_hosts>
|
||||
</yandex>
|
||||
|
||||
|
@ -1,7 +1,9 @@
|
||||
<yandex>
|
||||
<remote_url_allow_hosts>
|
||||
|
||||
<host_regexp>^[a-z]*:80$</host_regexp>
|
||||
<host_regexp>^[a-z]*\.ru$</host_regexp>
|
||||
|
||||
</remote_url_allow_hosts>
|
||||
</yandex>
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
<yandex>
|
||||
<remote_url_allow_hosts>
|
||||
|
||||
</remote_url_allow_hosts>
|
||||
|
||||
|
||||
</remote_url_allow_hosts>
|
||||
</yandex>
|
||||
|
||||
|
@ -33,7 +33,6 @@ def test_config_with_only_primary_hosts(start_cluster):
|
||||
assert "Unacceptable URL." in node2.query_and_get_error("CREATE TABLE table_test_2_5 (word String) Engine=URL('https://host:234', CSV)")
|
||||
assert "Unacceptable URL." in node2.query_and_get_error("CREATE TABLE table_test_2_6 (word String) Engine=URL('https://yandex2.ru', CSV)")
|
||||
|
||||
|
||||
def test_config_with_only_regexp_hosts(start_cluster):
|
||||
assert node3.query("CREATE TABLE table_test_3_1 (word String) Engine=URL('https://host:80', CSV)") == ""
|
||||
assert node3.query("CREATE TABLE table_test_3_2 (word String) Engine=URL('https://yandex.ru', CSV)") == ""
|
||||
|
Loading…
Reference in New Issue
Block a user