ashb commented on issue #5379: AIRFLOW-4316 Don't make automatically lower case every variable from … URL: https://github.com/apache/airflow/pull/5379#issuecomment-500778123 There are some test failures that look like they _could_ be related: ``` ====================================================================== 58) FAIL: test_email_alert_with_config (tests.models.test_taskinstance.TaskInstanceTest) ---------------------------------------------------------------------- Traceback (most recent call last): /usr/lib/python3.5/unittest/mock.py line 1157 in patched return func(*args, **keywargs) tests/models/test_taskinstance.py line 942 in test_email_alert_with_config self.assertEqual('template: test_email_alert_with_config', title) AssertionError: 'template: test_email_alert_with_config' != 'Airflow alert: <TaskInstance: test_failur[75 chars]ed]>' - template: test_email_alert_with_config + Airflow alert: <TaskInstance: test_failure_email.test_email_alert_with_config 2019-06-06 13:49:08.456939+00:00 [failed]> ====================================================================== 59) ERROR: test_execute (tests.operators.test_email_operator.TestEmailOperator) ---------------------------------------------------------------------- Traceback (most recent call last): tests/operators/test_email_operator.py line 62 in test_execute self._run_as_operator() tests/operators/test_email_operator.py line 57 in _run_as_operator task.run(start_date=DEFAULT_DATE, end_date=DEFAULT_DATE) airflow/models/baseoperator.py line 828 in run ignore_ti_state=ignore_ti_state) airflow/utils/db.py line 68 in wrapper return func(*args, **kwargs) airflow/models/taskinstance.py line 976 in run session=session) airflow/utils/db.py line 64 in wrapper return func(*args, **kwargs) airflow/models/taskinstance.py line 889 in _run_raw_task result = task_copy.execute(context=context) airflow/operators/email_operator.py line 78 in execute mime_subtype=self.mime_subtype, mime_charset=self.mime_charset) airflow/utils/email.py line 42 in send_email backend = getattr(module, attr) ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
