mirror of
https://github.com/esphome/esphome.git
synced 2025-11-17 23:35:47 +00:00
move to socket
This commit is contained in:
12
tests/components/socket/conftest.py
Normal file
12
tests/components/socket/conftest.py
Normal file
@@ -0,0 +1,12 @@
|
||||
"""Configuration file for socket component tests."""
|
||||
|
||||
import pytest
|
||||
|
||||
from esphome.core import CORE
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def reset_core():
|
||||
"""Reset CORE after each test."""
|
||||
yield
|
||||
CORE.reset()
|
||||
Reference in New Issue
Block a user