Google Git
Sign in
apache / airflow / refs/heads/v2-1-stable / . / tests / dags
tree: 3e4aed02cea52e8be8b8af3b59de3a6b1b3fe476 [path history] [tgz]
  1. subdir1/
  2. subdir2/
  3. .airflowignore
  4. .gitignore
  5. no_dags.py
  6. README.md
  7. test_clear_subdag.py
  8. test_cli_triggered_dags.py
  9. test_dag_with_no_tags.py
  10. test_default_impersonation.py
  11. test_default_views.py
  12. test_double_trigger.py
  13. test_example_bash_operator.py
  14. test_heartbeat_failed_fast.py
  15. test_impersonation.py
  16. test_impersonation_subdag.py
  17. test_invalid_cron.py
  18. test_issue_1225.py
  19. test_latest_runs.py
  20. test_logging_in_dag.py
  21. test_mark_success.py
  22. test_miscellaneous.py
  23. test_missing_owner.py
  24. test_multiple_dags.py
  25. test_no_impersonation.py
  26. test_on_failure_callback.py
  27. test_on_kill.py
  28. test_only_dummy_tasks.py
  29. test_prev_dagrun_dep.py
  30. test_retry_handling_job.py
  31. test_scheduler_dags.py
  32. test_subdag.py
  33. test_task_view_type_check.py
  34. test_with_non_default_owner.py
  35. test_zip.zip
  36. 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)
Powered by Gitiles| Privacy| Termstxt json