mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 04:50:05 +00:00
Add Sentry component (#30422)
This commit is contained in:
committed by
Paulus Schoutsen
parent
bb55606d29
commit
3033dbd86c
18
tests/components/sentry/conftest.py
Normal file
18
tests/components/sentry/conftest.py
Normal file
@@ -0,0 +1,18 @@
|
||||
"""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"}}
|
||||
Reference in New Issue
Block a user