tests/test_airflow_renv_operator.py
def airflow_home(monkeypatch: MonkeyPatch, tmp_path: Path):
    """Set AIRFLOW_HOME to a temp dir while testing.

    This prevents Airflow from initializing in the local directory and
    creating unneeded config files, logs, etc.
    """
    monkeypatch.setenv('AIRFLOW_HOME', str(tmp_path))
Set AIRFLOW_HOME to a temp dir while testing.

    This prevents Airflow from initializing in the local directory and
    creating unneeded config files, logs, etc.
    
Set AIRFLOW_HOME to a temp dir while testing.
This prevents Airflow from initializing in the local directory and
creating unneeded config files, logs, etc.
Set AIRFLOW_HOME to a temp dir while testing . This prevents Airflow from initializing in the local directory and creating unneeded config files logs etc .
def airflow_home(monkeypatch: MonkeyPatch, tmp_path: Path):
    monkeypatch.setenv('AIRFLOW_HOME', str(tmp_path))
def airflow_home ( monkeypatch : MonkeyPatch , tmp_path : Path ) : monkeypatch . setenv ( 'AIRFLOW_HOME' , str ( tmp_path ) )
Set AIRFLOW_HOME to a temp dir while testing.
Set AIRFLOW_HOME to a temp dir while testing .
"""Set AIRFLOW_HOME to a temp dir while testing.

    This prevents Airflow from initializing in the local directory and
    creating unneeded config files, logs, etc.
    """
monkeypatch
MonkeyPatch
tmp_path
Path