Skip to content

Commit

Permalink
Fix failing dmr_test after remving unique constraint
Browse files Browse the repository at this point in the history
The apache#46295 removed the unique constraints but the case when logical
date is None is not handled.

This one fixes the problem but likely needs some unit tests and
fixes in the core
  • Loading branch information
potiuk committed Feb 6, 2025
1 parent e16418b commit a555d07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions providers/tests/amazon/aws/operators/test_dms.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,7 @@ def test_template_fields_native(self, mock_conn, session):
run_id="test",
run_type=DagRunType.MANUAL,
state=DagRunState.RUNNING,
logical_date=execution_date,
)
ti = TaskInstance(task=op)
ti.dag_run = dag_run
Expand Down

0 comments on commit a555d07

Please sign in to comment.