This is an automated email from the ASF dual-hosted git repository.

eladkal pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new a29391b177a Enable PT006 rule to trino Provider test (#57931)
a29391b177a is described below

commit a29391b177a8c27af2a17c1faea82bbdb63e5b5a
Author: ChenChen Lai <[email protected]>
AuthorDate: Fri Nov 7 01:15:16 2025 +0800

    Enable PT006 rule to trino Provider test (#57931)
---
 providers/trino/tests/unit/trino/assets/test_trino.py | 2 +-
 providers/trino/tests/unit/trino/hooks/test_trino.py  | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/providers/trino/tests/unit/trino/assets/test_trino.py 
b/providers/trino/tests/unit/trino/assets/test_trino.py
index 575ccca6d74..a4210f7123c 100644
--- a/providers/trino/tests/unit/trino/assets/test_trino.py
+++ b/providers/trino/tests/unit/trino/assets/test_trino.py
@@ -25,7 +25,7 @@ from airflow.providers.trino.assets.trino import sanitize_uri
 
 
 @pytest.mark.parametrize(
-    "original, normalized",
+    ("original", "normalized"),
     [
         pytest.param(
             "trino://example.com:1234/catalog/schema/table",
diff --git a/providers/trino/tests/unit/trino/hooks/test_trino.py 
b/providers/trino/tests/unit/trino/hooks/test_trino.py
index f8a7bccdc40..75bcd6c0e86 100644
--- a/providers/trino/tests/unit/trino/hooks/test_trino.py
+++ b/providers/trino/tests/unit/trino/hooks/test_trino.py
@@ -147,7 +147,7 @@ class TestTrinoHookConn:
         self.assert_connection_called_with(mock_connect, auth=mock_jwt_auth)
 
     @pytest.mark.parametrize(
-        "jwt_file, jwt_token, error_suffix",
+        ("jwt_file", "jwt_token", "error_suffix"),
         [
             pytest.param(True, True, "provided both", 
id="provided-both-params"),
             pytest.param(False, False, "none of them provided", 
id="no-jwt-provided"),
@@ -236,7 +236,7 @@ class TestTrinoHookConn:
         self.assert_connection_called_with(mock_connect, 
client_tags=extras["client_tags"])
 
     @pytest.mark.parametrize(
-        "current_verify, expected_verify",
+        ("current_verify", "expected_verify"),
         [
             ("False", False),
             ("false", False),
@@ -473,7 +473,7 @@ def test_execute_openlineage_events():
 
 
 @pytest.mark.parametrize(
-    "conn_params, expected_uri",
+    ("conn_params", "expected_uri"),
     [
         (
             {"login": "user", "password": "pass", "host": "localhost", "port": 
8080, "schema": "hive"},

Reply via email to