From 78baefbb210a914ef4f94e0482721ea788f23393 Mon Sep 17 00:00:00 2001 From: DonHaul Date: Thu, 15 Aug 2024 16:45:42 +0200 Subject: [PATCH] airflow: add dag integrity test --- workflows/tests/test_dags_integrity.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 workflows/tests/test_dags_integrity.py diff --git a/workflows/tests/test_dags_integrity.py b/workflows/tests/test_dags_integrity.py new file mode 100644 index 00000000..86d1b16d --- /dev/null +++ b/workflows/tests/test_dags_integrity.py @@ -0,0 +1,6 @@ +from airflow.models import DagBag + + +def test_dagbag(): + dag_bag = DagBag(include_examples=False) + assert not dag_bag.import_errors