mik-laj commented on a change in pull request #5935: [AIRFLOW-5330] Add 
project_id to Datastore hook and operators
URL: https://github.com/apache/airflow/pull/5935#discussion_r318660539
 
 

 ##########
 File path: tests/gcp/hooks/datastore.py
 ##########
 @@ -50,12 +52,12 @@ def test_allocate_ids(self, mock_get_conn):
         self.datastore_hook.connection = mock_get_conn.return_value
         partial_keys = []
 
-        keys = self.datastore_hook.allocate_ids(partial_keys)
+        keys = self.datastore_hook.allocate_ids(partial_keys=partial_keys, 
project_id=GCP_PROJECT_ID)
 
 Review comment:
   Can you also add tests when project ID is missing?

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