kaxil commented on code in PR #41318:
URL: https://github.com/apache/airflow/pull/41318#discussion_r1707759326


##########
tests/www/views/test_views.py:
##########
@@ -599,26 +599,35 @@ def test_invalid_dates(app, admin_client, url, content):
     assert re.search(content, resp.get_data().decode())
 
 
[email protected]("enabled, dags_count", [(False, 5), (True, 5)])
[email protected]("enabled", [False, True])
 @patch("airflow.utils.usage_data_collection.get_platform_info", 
return_value=("Linux", "x86_64"))
 @patch("airflow.utils.usage_data_collection.get_database_version", 
return_value="12.3")
 @patch("airflow.utils.usage_data_collection.get_database_name", 
return_value="postgres")
 @patch("airflow.utils.usage_data_collection.get_executor", 
return_value="SequentialExecutor")
 @patch("airflow.utils.usage_data_collection.get_python_version", 
return_value="3.8.5")
+@patch("airflow.utils.usage_data_collection.get_plugin_counts")
 def test_build_scarf_url(
-    get_platform_info,

Review Comment:
    Whoops -- guess didn't matter or didn't notice as the return value are 
already part of mocks



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