tree: 775b69f20a90a07816ed97fed27829ce7e5e290c [path history] [tgz]
  1. .airflowignore
  2. .gitignore
  3. no_dags.py
  4. README.md
  5. test_backfill_pooled_tasks.py
  6. test_clear_subdag.py
  7. test_cli_triggered_dags.py
  8. test_default_impersonation.py
  9. test_double_trigger.py
  10. test_example_bash_operator.py
  11. test_impersonation.py
  12. test_impersonation_custom.py
  13. test_impersonation_subdag.py
  14. test_invalid_cron.py
  15. test_issue_1225.py
  16. test_latest_runs.py
  17. test_mark_success.py
  18. test_no_impersonation.py
  19. test_on_kill.py
  20. test_retry_handling_job.py
  21. test_scheduler_dags.py
  22. test_task_view_type_check.py
  23. test_zip.zip
  24. test_zip_invalid_cron.zip
tests/dags/README.md

Unit Tests DAGs Folder

This folder contains DAGs for Airflow unit testing.

To access a DAG in this folder, use the following code inside a unit test. Note this only works when test_mode is on; otherwise the normal Airflow DAGS_FOLDER will take precedence.

dagbag = DagBag()
dag = dagbag.get_dag(dag_id)