mik-laj commented on issue #5565: [AIRFLOW-4899] Fix get_dataset_list from 
bigquery hook to return next…
URL: https://github.com/apache/airflow/pull/5565#issuecomment-518864957
 
 
   Travis is sad
   ```
   ======================================================================
   13) FAIL: test_get_datasets_list 
(tests.contrib.hooks.test_bigquery_hook.TestDatasetsOperations)
   ----------------------------------------------------------------------
      Traceback (most recent call last):
       tests/contrib/hooks/test_bigquery_hook.py line 704 in 
test_get_datasets_list
         self.assertEqual(result, expected_result['datasets'])
      AssertionError: Lists differ: [[{'kind': 'bigquery#dataset', 
'location':[289 chars]'}}]] != [{'kind': 'bigquery#dataset', 'location': [287 
chars]t'}}]
   
      First differing element 0:
      [{'kind': 'bigquery#dataset', 'location':[288 chars]t'}}]
      {'kind': 'bigquery#dataset', 'location': [119 chars]st'}}
   
      Second list contains 1 additional elements.
      First extra element 1:
      {'kind': 'bigquery#dataset', 'location': 'US', 'id': 
'your-project:dataset_1_test', 'datasetReference': {'projectId': 
'your-project', 'datasetId': 'dataset_1_test'}}
   
      Diff is 910 characters long. Set self.maxDiff to None to see it.
      -------------------- >> begin captured logging << --------------------
      airflow.contrib.hooks.bigquery_hook.BigQueryBaseCursor: INFO: Datasets 
List: [[{'kind': 'bigquery#dataset', 'location': 'US', 'id': 
'your-project:dataset_2_test', 'datasetReference': {'projectId': 
'your-project', 'datasetId': 'dataset_2_test'}}, {'kind': 'bigquery#dataset', 
'location': 'US', 'id': 'your-project:dataset_1_test', 'datasetReference': 
{'projectId': 'your-project', 'datasetId': 'dataset_1_test'}}]]
      --------------------- >> 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:
[email protected]


With regards,
Apache Git Services

Reply via email to