You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Siddharth Anand (JIRA)" <ji...@apache.org> on 2016/08/12 01:03:20 UTC
[jira] [Updated] (AIRFLOW-371) Configuration test_mode() doesn't
seem to do anything
[ https://issues.apache.org/jira/browse/AIRFLOW-371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Siddharth Anand updated AIRFLOW-371:
------------------------------------
External issue URL: https://github.com/apache/incubator-airflow/pull/1677
> Configuration test_mode() doesn't seem to do anything
> -----------------------------------------------------
>
> Key: AIRFLOW-371
> URL: https://issues.apache.org/jira/browse/AIRFLOW-371
> Project: Apache Airflow
> Issue Type: Bug
> Components: tests, ts
> Reporter: Jeremiah Lowin
> Assignee: Jeremiah Lowin
>
> Calling {{airflow.conf.test_mode()}} loads a new configuration object with the TEST_CONFIG, but it doesn't actually return it -- it appears that the TEST_CONFIG is never actually loaded. In other words, calling {{test_mode()}} doesn't actually do anything!
> This doesn't affect Airflow's unit testing process because the {{run_unit_tests.sh}} script explicitly points at the hardcoded {{unittest.cfg}} file.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)