Fix style check

This commit is contained in:
Maksim Kita 2022-04-29 11:16:20 +02:00
parent 55994afe0c
commit 0e04c2cbc8

View File

@ -92,9 +92,7 @@ def test_executable_function_input_python(started_cluster):
== "Key 0\nKey 1\nKey 2\n"
)
query = (
"SELECT * FROM executable('input.py', 'TabSeparated', (SELECT 'value String'), {source})"
)
query = "SELECT * FROM executable('input.py', 'TabSeparated', (SELECT 'value String'), {source})"
assert node.query(query.format(source="(SELECT 1)")) == "Key 1\n"
assert (
node.query(query.format(source="(SELECT id FROM test_data_table)"))
@ -102,9 +100,7 @@ def test_executable_function_input_python(started_cluster):
)
node.query("CREATE FUNCTION test_function AS () -> 'value String';")
query = (
"SELECT * FROM executable('input.py', 'TabSeparated', (SELECT test_function()), {source})"
)
query = "SELECT * FROM executable('input.py', 'TabSeparated', (SELECT test_function()), {source})"
assert node.query(query.format(source="(SELECT 1)")) == "Key 1\n"
assert (
node.query(query.format(source="(SELECT id FROM test_data_table)"))