airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (Jira)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-6400) pytest not working on Windows
Date Mon, 30 Dec 2019 14:12:00 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-6400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17005351#comment-17005351
] 

ASF subversion and git services commented on AIRFLOW-6400:
----------------------------------------------------------

Commit 4c62f7b7616b0cdaa421d9e363c3f687208991bd in airflow's branch refs/heads/v1-10-test
from Bjorn Olsen
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=4c62f7b ]

[AIRFLOW-6400] Fix pytest not working on Windows (#6964)

(cherry picked from commit 6dc59d507b6e57603fce2bb2eca91c4f671758e4)


> 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)

Mime
View raw message