Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
dstandish committed Jul 3, 2024
1 parent f514feb commit 70a5331
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/providers/postgres/operators/test_postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,10 @@ def test_parameters_are_templatized(create_task_instance_of_operator):
task_id="test-task",
)
task: SQLExecuteQueryOperator = ti.render_templates(
{"param": {"conn_id": "pg", "table": "foo", "bar": "egg"}, "ti": ti}
{
"param": {"conn_id": "pg", "table": "foo", "bar": "egg"},
"ti": ti,
}
)
assert task.conn_id == "pg"
assert task.sql == "SELECT * FROM foo WHERE spam = %(spam)s;"
Expand Down

0 comments on commit 70a5331

Please sign in to comment.