incubator-airflow/tests/dags
Andrey Klochkov 702005fe35 [AIRFLOW-6171] Apply .airflowignore to correct subdirectories (#6784)
Fix the defect that applied .airflowignore rules from one subdirectory
to all other subdirectories scanned later.
2019-12-12 18:01:49 +00:00
..
subdir1 [AIRFLOW-6171] Apply .airflowignore to correct subdirectories (#6784) 2019-12-12 18:01:49 +00:00
subdir2 [AIRFLOW-6171] Apply .airflowignore to correct subdirectories (#6784) 2019-12-12 18:01:49 +00:00
.airflowignore [AIRFLOW-4720] Allow comments in .airflowignore files. (#5355) 2019-06-02 09:18:25 +02:00
.gitignore [AIRFLOW-3680] Consistency update in tests for All GCP-related operators (#4493) 2019-01-12 12:44:01 +00:00
README.md [AIRFLOW-5206] Common licence in all .md files, TOC + removed TODO.md (#5809) 2019-08-21 23:27:54 -04:00
no_dags.py [AIRFLOW-2918] Fix Flake8 violations (#3931) 2018-09-21 15:25:54 +01:00
test_backfill_pooled_tasks.py [AIRFLOW-2918] Fix Flake8 violations (#3931) 2018-09-21 15:25:54 +01:00
test_clear_subdag.py [AIRFLOW-5256] Related pylint changes for common licences in python files (#5786) 2019-09-17 13:16:32 +02:00
test_cli_triggered_dags.py [AIRFLOW-5390] Remove provide context (#5990) 2019-09-10 15:17:03 +02:00
test_default_impersonation.py [AIRFLOW-4686] Make dags Pylint compatible (#5753) 2019-08-13 03:26:50 +02:00
test_double_trigger.py [AIRFLOW-2918] Fix Flake8 violations (#3931) 2018-09-21 15:25:54 +01:00
test_example_bash_operator.py [AIRFLOW-5256] Related pylint changes for common licences in python files (#5786) 2019-09-17 13:16:32 +02:00
test_heartbeat_failed_fast.py [AIRFLOW-4956] Fix LocalTaskJob heartbeat log spamming (#5589) 2019-08-08 08:59:53 +02:00
test_impersonation.py [AIRFLOW-4686] Make dags Pylint compatible (#5753) 2019-08-13 03:26:50 +02:00
test_impersonation_subdag.py [AIRFLOW-5362] Reorder imports (#5944) 2019-10-02 16:30:03 +01:00
test_invalid_cron.py [AIRFLOW-5204] Shellcheck + common licences + executable shebangs in shell files (#5807) 2019-08-20 00:07:39 -04:00
test_issue_1225.py [AIRFLOW-4509] SubDagOperator using scheduler instead of backfill (#5498) 2019-08-07 21:17:50 +02:00
test_latest_runs.py [AIRFLOW-2918] Fix Flake8 violations (#3931) 2018-09-21 15:25:54 +01:00
test_mark_success.py [AIRFLOW-2918] Fix Flake8 violations (#3931) 2018-09-21 15:25:54 +01:00
test_no_impersonation.py [AIRFLOW-4686] Make dags Pylint compatible (#5753) 2019-08-13 03:26:50 +02:00
test_on_kill.py [AIRFLOW-5931] Use os.fork when appropriate to speed up task execution. (#6627) 2019-12-10 10:47:37 +00:00
test_retry_handling_job.py [AIRFLOW-4686] Make dags Pylint compatible (#5753) 2019-08-13 03:26:50 +02:00
test_scheduler_dags.py [AIRFLOW-5362] Reorder imports (#5944) 2019-10-02 16:30:03 +01:00
test_subdag.py [AIRFLOW-6004] Untangle Executors class to avoid cyclic imports (#6596) 2019-12-03 16:02:20 +01:00
test_task_view_type_check.py [AIRFLOW-5362] Reorder imports (#5944) 2019-10-02 16:30:03 +01:00
test_zip.zip [AIRFLOW-2613] Fix Airflow searching .zip bug 2018-06-17 19:16:12 +01:00
test_zip_invalid_cron.zip [AIRFLOW-2855] Check Cron Expression Validity in DagBag.process_file() (#3698) 2018-08-07 18:07:43 -07:00

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)