You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jarek Potiuk (Jira)" <ji...@apache.org> on 2019/12/30 14:04:00 UTC

[jira] [Resolved] (AIRFLOW-6400) pytest not working on Windows

     [ https://issues.apache.org/jira/browse/AIRFLOW-6400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Potiuk resolved AIRFLOW-6400.
-----------------------------------
    Fix Version/s: 1.10.8
       Resolution: Fixed

> pytest not working on Windows
> -----------------------------
>
>                 Key: AIRFLOW-6400
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6400
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: tests
>    Affects Versions: 1.10.7
>            Reporter: Bjorn Olsen
>            Assignee: Bjorn Olsen
>            Priority: Minor
>             Fix For: 1.10.8
>
>
> While Windows isn't supported I am using it to do development and testing.
> This line in conftest.py is causing problems because "HOME" is not an environment variable on Windows.
>  home = os.environ.get("HOME")
>  It can easily be changed to be cross-platform.
> Edit: The same issue is causing test discovery to fail on Windows 10.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)