vanka56 commented on a change in pull request #9472:
URL: https://github.com/apache/airflow/pull/9472#discussion_r456321846



##########
File path: tests/providers/apache/hive/hooks/test_hive.py
##########
@@ -557,6 +557,11 @@ def test_table_exists(self):
         self.hook.metastore.__enter__().get_table.assert_called_with(
             dbname='default', tbl_name='does-not-exist')
 
+    
@mock.patch('airflow.providers.apache.hive.hooks.hive.HiveMetastoreHook.drop_partitions')
+    def test_drop_partition(self, thrift_mock):
+        self.hook.drop_partitions(self.table, db=self.database, 
part_vals=[DEFAULT_DATE_DS])
+        thrift_mock.assert_called_once_with(self.table, db=self.database, 
part_vals=[DEFAULT_DATE_DS])
+

Review comment:
       @turbaszek Lol. i just laughed at my previous change(and your comment) 
:).  Made further changed as per your advice. Let me know what do you think




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


Reply via email to