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

shahar 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 139a7846e85 Enable PT006 rule to postgres Provider test (#57934)
139a7846e85 is described below

commit 139a7846e85d0de8575af3b1d6f34d3ca391c973
Author: ChenChen Lai <[email protected]>
AuthorDate: Sat Nov 8 02:36:12 2025 +0800

    Enable PT006 rule to postgres Provider test (#57934)
---
 providers/postgres/tests/unit/postgres/assets/test_postgres.py | 2 +-
 providers/postgres/tests/unit/postgres/hooks/test_postgres.py  | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/providers/postgres/tests/unit/postgres/assets/test_postgres.py 
b/providers/postgres/tests/unit/postgres/assets/test_postgres.py
index 00e779b685b..a06beea747c 100644
--- a/providers/postgres/tests/unit/postgres/assets/test_postgres.py
+++ b/providers/postgres/tests/unit/postgres/assets/test_postgres.py
@@ -25,7 +25,7 @@ from airflow.providers.postgres.assets.postgres import 
sanitize_uri
 
 
 @pytest.mark.parametrize(
-    "original, normalized",
+    ("original", "normalized"),
     [
         pytest.param(
             "postgres://example.com:1234/database/schema/table",
diff --git a/providers/postgres/tests/unit/postgres/hooks/test_postgres.py 
b/providers/postgres/tests/unit/postgres/hooks/test_postgres.py
index ee634c0f355..b286a169adf 100644
--- a/providers/postgres/tests/unit/postgres/hooks/test_postgres.py
+++ b/providers/postgres/tests/unit/postgres/hooks/test_postgres.py
@@ -127,7 +127,7 @@ class TestPostgresHookConn:
     @pytest.mark.parametrize("aws_conn_id", [NOTSET, None, "mock_aws_conn"])
     @pytest.mark.parametrize("port", [5432, 5439, None])
     @pytest.mark.parametrize(
-        "host,conn_cluster_identifier,expected_host",
+        ("host", "conn_cluster_identifier", "expected_host"),
         [
             (
                 
"cluster-identifier.ccdfre4hpd39h.us-east-1.redshift.amazonaws.com",
@@ -297,7 +297,7 @@ class TestPostgresHookConn:
     @pytest.mark.parametrize("aws_conn_id", [NOTSET, None, "mock_aws_conn"])
     @pytest.mark.parametrize("port", [5432, 5439, None])
     @pytest.mark.parametrize(
-        "host,conn_cluster_identifier,expected_cluster_identifier",
+        ("host", "conn_cluster_identifier", "expected_cluster_identifier"),
         [
             (
                 
"cluster-identifier.ccdfre4hpd39h.us-east-1.redshift.amazonaws.com",
@@ -373,7 +373,7 @@ class TestPostgresHookConn:
     @pytest.mark.parametrize("aws_conn_id", [NOTSET, None, "mock_aws_conn"])
     @pytest.mark.parametrize("port", [5432, 5439, None])
     @pytest.mark.parametrize(
-        "host,conn_workgroup_name,expected_workgroup_name",
+        ("host", "conn_workgroup_name", "expected_workgroup_name"),
         [
             (
                 
"serverless-workgroup.ccdfre4hpd39h.us-east-1.redshift.amazonaws.com",
@@ -690,7 +690,7 @@ class TestPostgresHook:
         assert sorted(input_data) == sorted(results)
 
     @pytest.mark.parametrize(
-        "df_type, expected_type",
+        ("df_type", "expected_type"),
         [
             ("pandas", pd.DataFrame),
             ("polars", pl.DataFrame),

Reply via email to