Skip to content

Commit

Permalink
Fix Trino Provider intergation test after removal of deprecations (#4…
Browse files Browse the repository at this point in the history
  • Loading branch information
jscheffl authored Dec 10, 2024
1 parent 102af55 commit 3eb4c58
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion providers/tests/integration/trino/hooks/test_trino.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ def test_should_record_records_with_kerberos_auth(self):

@mock.patch.dict("os.environ", AIRFLOW_CONN_TRINO_DEFAULT="trino://airflow@trino:8080/")
def test_openlineage_methods(self):
op = SQLExecuteQueryOperator(task_id="trino_test", sql="SELECT name FROM tpch.sf1.customer LIMIT 3")
op = SQLExecuteQueryOperator(
task_id="trino_test", sql="SELECT name FROM tpch.sf1.customer LIMIT 3", conn_id="trino_default"
)
op.execute({})
lineage = op.get_openlineage_facets_on_start()
assert lineage.inputs[0].namespace == "trino://trino:8080"
Expand Down

0 comments on commit 3eb4c58

Please sign in to comment.