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



##########
File path: tests/providers/apache/hive/hooks/test_hive.py
##########
@@ -383,6 +383,10 @@ def test_table_exists(self):
             self.hook.table_exists(str(random.randint(1, 10000)))
         )
 
+    def test_drop_partition(self):
+        self.assertTrue(self.hook.drop_partitions(self.table, db=self.database,
+                                                  part_vals=[DEFAULT_DATE_DS]))
+

Review comment:
       @turbaszek  Methods like def test_max_partition(self) also does the 
same. Moreover, it should not be an expensive operation. Do you think we really 
have to mock the call?




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