1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-03 05:29:14 +00:00
2020-01-03 21:34:20 +01:00

19 lines
462 B
Python

"""Configuration for Sonos tests."""
import pytest
from homeassistant.components.sentry import DOMAIN
from tests.common import MockConfigEntry
@pytest.fixture(name="config_entry")
def config_entry_fixture():
"""Create a mock config entry."""
return MockConfigEntry(domain=DOMAIN, title="Sentry")
@pytest.fixture(name="config")
def config_fixture():
"""Create hass config fixture."""
return {DOMAIN: {"dsn": "http://public@sentry.local/1"}}