refactor: Refactoring most of the project
Some checks failed
🧪 Integration Testing / 🔧 Test Integration (2025.9.4, 3.13) (push) Failing after 24s
Some checks failed
🧪 Integration Testing / 🔧 Test Integration (2025.9.4, 3.13) (push) Failing after 24s
Signed-off-by: Rafal Zielinski <sq4ind@gmail.com>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
"""Test configuration and fixtures."""
|
||||
import pytest
|
||||
|
||||
|
||||
@@ -5,3 +6,11 @@ import pytest
|
||||
def auto_enable_custom_integrations(enable_custom_integrations):
|
||||
"""Enable custom integrations for all tests."""
|
||||
yield
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def mock_platform_setup():
|
||||
"""Mock platform setup to avoid actual platform loading."""
|
||||
from unittest.mock import patch
|
||||
with patch("homeassistant.config_entries.ConfigEntry.async_forward_entry_setups"):
|
||||
yield
|
||||
|
Reference in New Issue
Block a user