Skip to content

Commit bf91615

Browse files
committed
fix: Lint
1 parent baf1f3e commit bf91615

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

tests/unit/test_sql_execution.py

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -303,9 +303,7 @@ def test_trino_url_auto_detects_qmark_param_style(
303303
}
304304
)
305305

306-
execute_sql_with_connection_json(
307-
"SELECT * FROM test_table", sql_alchemy_json
308-
)
306+
execute_sql_with_connection_json("SELECT * FROM test_table", sql_alchemy_json)
309307

310308
# Verify compile_sql_query was called with 'qmark' param_style
311309
mocked_compile_sql_query.assert_called_once()
@@ -334,9 +332,7 @@ def test_non_trino_url_param_style_remains_none(
334332
}
335333
)
336334

337-
execute_sql_with_connection_json(
338-
"SELECT * FROM test_table", sql_alchemy_json
339-
)
335+
execute_sql_with_connection_json("SELECT * FROM test_table", sql_alchemy_json)
340336

341337
# Verify compile_sql_query was called with None param_style
342338
mocked_compile_sql_query.assert_called_once()
@@ -367,9 +363,7 @@ def test_explicit_param_style_not_overridden(
367363
}
368364
)
369365

370-
execute_sql_with_connection_json(
371-
"SELECT * FROM test_table", sql_alchemy_json
372-
)
366+
execute_sql_with_connection_json("SELECT * FROM test_table", sql_alchemy_json)
373367

374368
# Verify compile_sql_query was called with 'pyformat', NOT 'qmark'
375369
mocked_compile_sql_query.assert_called_once()
@@ -398,9 +392,7 @@ def test_trino_url_with_protocol_suffix_not_matched(
398392
}
399393
)
400394

401-
execute_sql_with_connection_json(
402-
"SELECT * FROM test_table", sql_alchemy_json
403-
)
395+
execute_sql_with_connection_json("SELECT * FROM test_table", sql_alchemy_json)
404396

405397
# Verify compile_sql_query was called with None param_style
406398
# because "trino+rest" doesn't match "trino" in the dictionary
@@ -429,7 +421,7 @@ def test_trino_with_jinja_templates_uses_qmark(
429421
}
430422
)
431423

432-
result = execute_sql_with_connection_json(
424+
execute_sql_with_connection_json(
433425
"SELECT * FROM test_table WHERE id = {{ user_id }}",
434426
sql_alchemy_json,
435427
)

0 commit comments

Comments
 (0)