diff --git a/providers/tests/snowflake/operators/test_snowflake_sql.py b/providers/tests/snowflake/operators/test_snowflake_sql.py index fb1bcd1726352..47dcf27122df1 100644 --- a/providers/tests/snowflake/operators/test_snowflake_sql.py +++ b/providers/tests/snowflake/operators/test_snowflake_sql.py @@ -32,9 +32,11 @@ except ImportError: # Row is used in the parametrize so it's parsed during collection and we need to have a viable # replacement for the collection time when databricks is not installed (Python 3.12 for now) - def Row(*args, **kwargs): + def MockRow(*args, **kwargs): return MagicMock() + Row = MockRow + from airflow.models.connection import Connection from airflow.providers.common.compat.openlineage.facet import (