tree: 4e6a57025679015d889dd0a9109aeb2fa9ada40e [path history] [tgz]
  1. subdir1/
  2. subdir2/
  3. .airflowignore
  4. .gitignore
  5. no_dags.py
  6. README.md
  7. test_backfill_pooled_tasks.py
  8. test_clear_subdag.py
  9. test_cli_triggered_dags.py
  10. test_default_impersonation.py
  11. test_double_trigger.py
  12. test_example_bash_operator.py
  13. test_heartbeat_failed_fast.py
  14. test_impersonation.py
  15. test_impersonation_subdag.py
  16. test_invalid_cron.py
  17. test_issue_1225.py
  18. test_latest_runs.py
  19. test_mark_success.py
  20. test_no_impersonation.py
  21. test_on_kill.py
  22. test_retry_handling_job.py
  23. test_scheduler_dags.py
  24. test_subdag.py
  25. test_task_view_type_check.py
  26. test_zip.zip
  27. 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)