rootcss commented on a change in pull request #10770:
URL: https://github.com/apache/airflow/pull/10770#discussion_r499276052



##########
File path: tests/www/test_views.py
##########
@@ -301,6 +302,27 @@ def test_import_variables_success(self):
         self.check_content_in_response('4 variable(s) successfully updated.', 
resp)
 
 
+class PluginOperator(BaseOperator):
+    pass
+
+
+class TestPluginView(TestBase):
+    def setUp(self):
+        super().setUp()
+
+    def tearDown(self):
+        super().tearDown()
+
+    def test_should_list_plugins_on_page_with_details(self):
+        resp = self.client.get('/plugin')
+        self.check_content_in_response("test_plugin", resp)

Review comment:
       I've added tests for entrypoint plugins as well now.




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


Reply via email to