mik-laj commented on a change in pull request #11802:
URL: https://github.com/apache/airflow/pull/11802#discussion_r511296263
##########
File path: tests/cli/commands/test_kubernetes_command.py
##########
@@ -40,3 +43,90 @@ def test_generate_dag_yaml(self):
self.assertEqual(len(os.listdir(out_dir)), 6)
self.assertTrue(os.path.isfile(out_dir + file_name))
self.assertGreater(os.stat(out_dir + file_name).st_size, 0)
+
+ @mock.patch('kubernetes.client.CoreV1Api.delete_namespaced_pod')
Review comment:
Can you move it to new test class? I try to follow the convention - one
class = one command to make it easier to find the appropriate tests
----------------------------------------------------------------
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]