From 96b1051c25e3610d583340ca31339b9e2c7991d4 Mon Sep 17 00:00:00 2001 From: Kirill Tsukanov Date: Thu, 2 Nov 2023 11:44:18 +0000 Subject: [PATCH] test: fix two shameful typos --- tests/airflow/test_dag.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/airflow/test_dag.py b/tests/airflow/test_dag.py index 1ea278d63..43aa5404d 100644 --- a/tests/airflow/test_dag.py +++ b/tests/airflow/test_dag.py @@ -8,9 +8,9 @@ @pytest.fixture(params=["./src/airflow/dags"]) def dag_bag(request, monkeypatch: pytest.MonkeyPatch): """Return a DAG bag for testing.""" - # It's important to change directory before importing DAGs, because this is way Airflow works in production: the - # dags/ directory serves as a root (and indeed $PYTHONPATH) for all DAGS contained therein. Using Monkeypatch - # ensures that the other tests are not affected. + # It's important to change the directory before importing DAGs, because this is the way Airflow works in + # production: the dags/ directory serves as a root (and indeed $PYTHONPATH) for all DAGs contained therein. Using + # Monkeypatch ensures that the other tests are not affected. monkeypatch.chdir(request.param) return DagBag(dag_folder=request.param, include_examples=False)