Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
pankajastro committed Jan 3, 2025
1 parent ec07050 commit ca13b11
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_dagfactory.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import datetime
import logging
import os
from pathlib import Path

import pytest
from airflow import __version__ as AIRFLOW_VERSION
Expand Down Expand Up @@ -450,8 +449,7 @@ def test_set_callback_after_loading_config():
td.generate_dags(globals())


def test_build_dag_with_global_default(monkeypatch):
monkeypatch.setattr(Path, "exists", lambda self: True)
def test_build_dag_with_global_default():
dags = dagfactory.DagFactory(
config=DAG_FACTORY_CONFIG, default_args_config_path=DEFAULT_ARGS_CONFIG_ROOT
).build_dags()
Expand Down

0 comments on commit ca13b11

Please sign in to comment.