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

Add config flow for Ping (#103743)

This commit is contained in:
Jan-Philipp Benecke
2023-11-17 20:30:30 +01:00
committed by GitHub
parent 2d891c77ef
commit e5bc25523e
15 changed files with 473 additions and 211 deletions

View File

@@ -0,0 +1,14 @@
"""Test configuration for ping."""
from unittest.mock import patch
import pytest
@pytest.fixture
def patch_setup(*args, **kwargs):
"""Patch setup methods."""
with patch(
"homeassistant.components.ping.async_setup_entry",
return_value=True,
), patch("homeassistant.components.ping.async_setup", return_value=True):
yield