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/04/06 09:35:37 UTC

[GitHub] [airflow] ashb commented on a change in pull request #4994: [AIRFLOW-4177] Check types in tests.

ashb commented on a change in pull request #4994: [AIRFLOW-4177] Check types in tests.
URL: https://github.com/apache/airflow/pull/4994#discussion_r272790295
 
 

 ##########
 File path: tests/contrib/hooks/test_bigquery_hook.py
 ##########
 @@ -597,7 +598,7 @@ class TestBigQueryCursor(unittest.TestCase):
     def test_execute_with_parameters(self, mocked_rwc):
         hook.BigQueryCursor("test", "test").execute(
             "SELECT %(foo)s", {"foo": "bar"})
-        mocked_rwc.assert_called_once()
+        assert mocked_rwc.call_count == 1
 
 Review comment:
   Why this change?

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