Skip to content

Commit 34bd56c

Browse files
Gayathri Srividya RajavarapuGayathriSrividya
authored andcommitted
Fix static checks for import error pagination test
1 parent 2319578 commit 34bd56c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

airflow-core/tests/unit/api_fastapi/core_api/routes/public/test_import_error.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,7 @@ def test_get_import_errors__no_dag_in_dagmodel(self, mock_get_auth_manager, test
532532
def import_error_with_multiple_dags(
533533
self,
534534
testing_dag_bundle,
535+
*,
535536
session: Session = NEW_SESSION,
536537
) -> tuple[ParseImportError, set[str]]:
537538
"""One ParseImportError file mapping to three DagModel rows.
@@ -573,8 +574,6 @@ def test_total_entries_counts_distinct_import_errors_when_file_has_multiple_dags
573574
"""total_entries and pagination must count ParseImportError objects, not
574575
joined rows.
575576
576-
Regression test for https://github.com/apache/airflow/issues/67525.
577-
578577
When one file contains three Dags, the join from ParseImportError to
579578
DagModel produces three rows for a single import-error record. Before
580579
the fix, total_entries reflected the raw joined-row count (3) instead

0 commit comments

Comments
 (0)