1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Block custom integrations with missing or invalid version (#49916)

This commit is contained in:
Joakim Sørensen
2021-05-17 15:48:41 +02:00
committed by GitHub
parent ac6d99d434
commit 2f10f59717
44 changed files with 369 additions and 314 deletions

View File

@@ -354,7 +354,7 @@ async def test_reusing_uuid(hass, aioclient_mock):
assert analytics.uuid == "NOT_MOCK_UUID"
async def test_custom_integrations(hass, aioclient_mock):
async def test_custom_integrations(hass, aioclient_mock, enable_custom_integrations):
"""Test sending custom integrations."""
aioclient_mock.post(ANALYTICS_ENDPOINT_URL, status=200)
analytics = Analytics(hass)