You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/08/08 08:21:29 UTC
[GitHub] [airflow] feluelle commented on issue #5753: [AIRFLOW-4686] Make
dags Pylint compatible
feluelle commented on issue #5753: [AIRFLOW-4686] Make dags Pylint compatible
URL: https://github.com/apache/airflow/pull/5753#issuecomment-519419648
@potiuk I do not understand why I have this test failing when I didn't change anything there.
```
======================================================================
21) FAIL: test_execute (tests.contrib.operators.test_cassandra_to_gcs_operator.CassandraToGCSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
/usr/local/lib/python3.5/unittest/mock.py line 1159 in patched
return func(*args, **keywargs)
tests/contrib/operators/test_cassandra_to_gcs_operator.py line 53 in test_execute
test_bucket, schema, TMP_FILE_NAME, "application/json", gzip
/usr/local/lib/python3.5/unittest/mock.py line 794 in assert_called_with
raise AssertionError(_error_message()) from cause
AssertionError: Expected call: upload('test-bucket', 'schema.json', 'temp-file', 'application/json', True)
Actual call: upload('test-bucket', 'data.json', 'temp-file', 'application/json', True)
```
The test was added [here](https://github.com/apache/airflow/pull/5738/files#diff-f0be0e629dc95450097d719b8b1aef5dR52-R54) and it passed all tests.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services