mik-laj commented on issue #5799:  [AIRFLOW-5195][depend on AIRFLOW-5183] Move 
GCP Dataflow to core
URL: https://github.com/apache/airflow/pull/5799#issuecomment-520920768
 
 
   ```
   ======================================================================
   45) ERROR: testSuccessfulRun 
(tests.contrib.utils.test_mlengine_operator_utils.CreateEvaluateOpsTest)
   ----------------------------------------------------------------------
      Traceback (most recent call last):
       tests/contrib/utils/test_mlengine_operator_utils.py line 100 in 
testSuccessfulRun
         with patch('airflow.contrib.operators.dataflow_operator.'
       /usr/local/lib/python3.6/unittest/mock.py line 1247 in __enter__
         original, local = self.get_original()
       /usr/local/lib/python3.6/unittest/mock.py line 1221 in get_original
         "%s does not have the attribute %r" % (target, name)
      AttributeError: <module 'airflow.contrib.operators.dataflow_operator' 
from '/opt/airflow/airflow/contrib/operators/dataflow_operator.py'> does not 
have the attribute 'DataFlowHook'
      -------------------- >> begin captured logging << --------------------
      py.warnings: WARNING: 
/opt/airflow/airflow/contrib/operators/dataflow_operator.py:32: 
DeprecationWarning: This module is deprecated. Please use 
`airflow.gcp.operators.dataflow`.
        DeprecationWarning,
      
      --------------------- >> end captured logging << ---------------------
   ```

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to