Skip to content

Commit f77cc15

Browse files
committed
chore: add testing
1 parent e5004ec commit f77cc15

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

dags/test_dag.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
from airflow.sdk import dag, task
2+
from dag_configuration import default_dag_args
3+
from datetime import datetime
4+
import logging
5+
6+
7+
START_DATE = datetime(2026, 7, 17,)
8+
9+
10+
@dag(
11+
default_args=default_dag_args,
12+
schedule=None,
13+
start_date=START_DATE,
14+
)
15+
def test_dag():
16+
@task()
17+
def test_task():
18+
logging.info("test_task executed")
19+
pass
20+
21+
test_task()
22+
23+
test_dag()

0 commit comments

Comments
 (0)