You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Bjorn Olsen (Jira)" <ji...@apache.org> on 2019/12/30 09:21:00 UTC
[jira] [Updated] (AIRFLOW-6400) pytest not working on Windows
[ https://issues.apache.org/jira/browse/AIRFLOW-6400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bjorn Olsen updated AIRFLOW-6400:
---------------------------------
Description:
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.
was:
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.
> 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
>
> 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)