From bc456820a0286d290f606ea5413e444614b9ddf7 Mon Sep 17 00:00:00 2001 From: robot-clickhouse Date: Tue, 13 Feb 2024 22:19:27 +0000 Subject: [PATCH] Automatic style fix --- .../integration/test_insert_exception_over_http/test.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/integration/test_insert_exception_over_http/test.py b/tests/integration/test_insert_exception_over_http/test.py index 826e0d01a81..a03d68e0b03 100644 --- a/tests/integration/test_insert_exception_over_http/test.py +++ b/tests/integration/test_insert_exception_over_http/test.py @@ -25,7 +25,8 @@ def test_insert_exception_over_http(start_cluster): ) assert True == instance.http_query_and_get_error( - "insert into tt settings insert_keeper_max_retries=0, insert_keeper_fault_injection_probability=1.0, log_comment='02988_66a57d6f-d1cc-4693-8bf4-206848edab87' values (1), (2), (3), (4), (5)", method='POST' + "insert into tt settings insert_keeper_max_retries=0, insert_keeper_fault_injection_probability=1.0, log_comment='02988_66a57d6f-d1cc-4693-8bf4-206848edab87' values (1), (2), (3), (4), (5)", + method="POST", ).startswith("500 Internal Server Error") assert "0\n" == instance.query("select count() from tt") @@ -33,9 +34,11 @@ def test_insert_exception_over_http(start_cluster): instance.query("SYSTEM FLUSH LOGS") assert "1\n" == instance.query( - "select count() from system.query_log where log_comment ='02988_66a57d6f-d1cc-4693-8bf4-206848edab87' and current_database = currentDatabase() and event_date >= yesterday() and type = 'QueryStart'") + "select count() from system.query_log where log_comment ='02988_66a57d6f-d1cc-4693-8bf4-206848edab87' and current_database = currentDatabase() and event_date >= yesterday() and type = 'QueryStart'" + ) assert "1\n" == instance.query( - "select count() from system.query_log where log_comment ='02988_66a57d6f-d1cc-4693-8bf4-206848edab87' and current_database = currentDatabase() and event_date >= yesterday() and type = 'ExceptionWhileProcessing'") + "select count() from system.query_log where log_comment ='02988_66a57d6f-d1cc-4693-8bf4-206848edab87' and current_database = currentDatabase() and event_date >= yesterday() and type = 'ExceptionWhileProcessing'" + ) instance.query("DROP TABLE tt SYNC")