You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jeremiah Lowin (JIRA)" <ji...@apache.org> on 2016/07/27 14:59:20 UTC
[jira] [Created] (AIRFLOW-371) Configuration test_mode() doesn't
seem to do anything
Jeremiah Lowin created AIRFLOW-371:
--------------------------------------
Summary: 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: ts, tests
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)