eladkal commented on issue #5379: AIRFLOW-4316 Don't make automatically lower 
case every variable from …
URL: https://github.com/apache/airflow/pull/5379#issuecomment-511224813
 
 
   mmm I'm probably wrong but the failures I see are:
   ```
   
   5) ERROR: test_custom_backend (tests.transplant_class.<locals>.C)
   
----------------------------------------------------------------------
      Traceback (most recent call last):
       /usr/lib/python3.5/unittest/mock.py line 1157 
in patched
         return func(*args, **keywargs)
       tests/core.py line 2258 in 
test_custom_backend
         utils.email.send_email('to', 'subject', 'content')
       airflow/utils/email.py line 42 in 
send_email
         backend = getattr(module, attr)
      AttributeError: module 
'airflow.utils' has no attribute 'send_email_smtp'
   ```
   
   The `module 'airflow.utils' has no attribute 'send_email_smtp'`  repeats in 
many tests failure for that PR.
   Shouldn't it be `airflow.utils.email.send_email_smtp` ?
   
   Could it be related to 
https://github.com/apache/airflow/blob/master/scripts/ci/airflow_travis.cfg#L43 
 ? 

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

Reply via email to