amoghrajesh commented on code in PR #56702:
URL: https://github.com/apache/airflow/pull/56702#discussion_r2435228497


##########
airflow-core/tests/unit/api_fastapi/core_api/routes/public/test_plugins.py:
##########
@@ -85,28 +86,40 @@ def test_external_views_model_validator(self, test_client):
                 "destination": "nav",
                 "category": "browse",
             },
-            # appbuilder_menu_items
-            {
-                "category": "Search",
-                "destination": "nav",
-                "href": "https://www.google.com";,
-                "icon": None,
-                "icon_dark_mode": None,
-                "name": "Google",
-                "url_route": None,
-            },
-            {
-                "category": None,
-                "destination": "nav",
-                "href": "https://www.apache.org/";,
-                "icon": None,
-                "icon_dark_mode": None,
-                "label": "The Apache Software Foundation",
-                "name": "apache",
-                "url_route": None,
-            },
         ]
 
+        # The test plugin conditionally defines appbuilder_menu_items based on 
flask_appbuilder availability

Review Comment:
   Handled this similar to how the `test_plugin` does it



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to