Skip to content

Commit

Permalink
use __file__ for fileloc (apache#44312)
Browse files Browse the repository at this point in the history
  • Loading branch information
rawwar authored Nov 23, 2024
1 parent d2c4c12 commit b1e0212
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/api_fastapi/core_api/routes/public/test_dags.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def test_dag_details(
"description": None,
"doc_md": "details",
"end_date": None,
"fileloc": "/opt/airflow/tests/api_fastapi/core_api/routes/public/test_dags.py",
"fileloc": __file__,
"file_token": file_token,
"has_import_errors": False,
"has_task_concurrency_limits": True,
Expand Down Expand Up @@ -363,7 +363,7 @@ def test_get_dag(self, test_client, query_params, dag_id, expected_status_code,
"dag_id": dag_id,
"dag_display_name": dag_display_name,
"description": None,
"fileloc": "/opt/airflow/tests/api_fastapi/core_api/routes/public/test_dags.py",
"fileloc": __file__,
"file_token": file_token,
"is_paused": False,
"is_active": True,
Expand Down

0 comments on commit b1e0212

Please sign in to comment.